uwp

Do the IBuffer objects produced by the methods in Windows.Security.Cryptography.CryptographicBuffer have security features?

孤者浪人 提交于 2019-12-08 08:47:21
问题 The Windows.Security.Cryptography.CryptographicBuffer class contains static methods for converting between strings and an IBuffer-implementing object which can be used by the cryptography functions. Do these objects have special security measures internally, such as preventing paging to disk, encrypting at rest, and/or erasing when the object is freed? If not, is there an alternative? For the alternatives, C#/.Net for Windows Universal Apps is preferred; C++/CX if necessary. EDIT: Asking the

Calculate CPU Usage in Percentage UWP Application Windows 10 IOT

你离开我真会死。 提交于 2019-12-08 08:19:51
问题 I want to calculate CPU usage in percentage. Currently I am using ProcessDiagnosticInfo to get kernal time and user time. How can I convert this time to percentage or suggest me any other method to find it, if there is any. private TimeSpan GetTotalCpuTime() { var totalKernelTime = new TimeSpan(); var totalUserTime = new TimeSpan(); var pdis = ProcessDiagnosticInfo.GetForProcesses(); foreach (var pdi in pdis) { var cpuUsage = pdi.CpuUsage; var report = cpuUsage.GetReport(); totalKernelTime +=

How to make Windows 10 Store “forget” an app download for testing purposes?

梦想与她 提交于 2019-12-08 08:14:39
问题 I'm testing my Win32 app converted to UWP, so I'm new to the whole Windows 10 Store concept. So far I was able to get my app certified & published in the store via a private link. Now I would like to download and test it, but there's an issue. The first time someone sees the app it has the following options: but once you get it, all you see is this: and even if you log in under a different Microsoft account (on the same computer), or previously uninstall the app, you get this: and "free trial

UWP 3d model loading

不羁岁月 提交于 2019-12-08 08:03:50
问题 I have searched everywhere but can not find an answer how could I load a 3d model (.obj/.fbx...) into UWP. I tried it with Helix, but it doesn't work well on the UWP yet. I would like to rotate this model after its loaded. 回答1: You need to use <SwapChainPanel /> Here is the MSDN documentation on it Here is a tutorial on how to use it. The tutorial is for Windows 8 but there are comments from people using this in UWP. All of this was found (On Bing) in one search. This was the StackOverflow

UWP app icon on taskbar

左心房为你撑大大i 提交于 2019-12-08 07:14:22
问题 I have all icon assets sorted out for a UWP app as detailed here except for the icon on the Taskbar. This is because I find the description at the link referred to somewhat long-winded and confusing as to how I should name an icon that should show up on the Taskbar (when the app is running). I have icon sizes prepared in dimensions of 16x16, 24x24, 32x32, 48x48, 256x256. I named them as recommended as MyAppName AppList.targetsize-XX.png where XX is 16, 24, 32, 48 or 256. As I've indicated

How to clip Image (UI-element) to sample geometry?

岁酱吖の 提交于 2019-12-08 07:06:51
问题 I want clip Image to ellipse, for example. UI-element have Clip, but Clip in the Windows Runtime API must be a RectangleGeometry. I can achieve the same result using an Ellipse and ImageBrush element as Fill brush: How to clip image to ellipse in XAML But then i can not size or move my image, because it's brush, not UI-element. So, how clip image not rectanglegeometry? For example, i want this:Move image into ellipse Maybe, i can use alphamask to UI-element? Or OpacityMask? Maybe this is

Barcode scanner not found with Sample UWP app

妖精的绣舞 提交于 2019-12-08 06:54:45
问题 I have a Honeywell Voyager 9520 (Model - Mk5145-31A38-I) which i am trying to make it work with the Sample UWP. I have tried all the modes in the scanner but nothing works. The app doesnt find the barcode at all. I am on Windows 10 and VS2015 professional. I dont understand what is USB HID mode for this scanner. I am new to barcode scanner stuff. Any pointers in making it work would be highly appreciated. I have downloaded the drivers from the "Software" tab from this Honeywell link USBSerial

C# UWP Build failed / Windows.Foundation.FoundationContract missing

若如初见. 提交于 2019-12-08 06:52:59
问题 I updated one UWP App to a newer SDK and set target version to 16299 and Min Version to 15063. Then I'm using the Windows.Foundation.UniversalApiContract Namespace to use features of the new SDK if available. Example: xmlns:contract5NotPresent="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractNotPresent(Windows.Foundation.UniversalApiContract,5)" xmlns:contract5Present="http://schemas.microsoft.com/winfx/2006/xaml/presentation?IsApiContractPresent(Windows.Foundation

How to finish current page in Windows Universal

拥有回忆 提交于 2019-12-08 06:46:29
问题 How can I close the current active Page in UWP development? I want to start a new Page and close the current one, so the user cannot go back to that page. Is there any method in UWP similar to Android's method "finish()"? 回答1: I think you should be able to do this by removing last page from back stack after navigating to a new one. Sample code in OnNavigatedTo of a new page: protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); this.Frame.BackStack.RemoveAt

Get Extended Splashscreen With Circular ProgressBar Around Image

爱⌒轻易说出口 提交于 2019-12-08 06:36:10
问题 I am using template 10 and want my splash screen to look like this: I have got the circular progress Bar control Here and got it around a image through Grace Feng help from this code Link Now I want this round progress control into my splash screen so it look like like the above images but in the extended splash screen link tutorial they show it by canvas and i want to do it by Myprogress control any idea how to implement this control in extended splash screen.If i just use it in splash.xaml