Pre Release Checks Open the “Visual Assets” manager: Package.appxmanifest > Visual Assets Store Logo Provide your own 50x50px logo Square 44×44 Logo Provide your own 24x24px logo Provide your own 88x88px logo Square 150×150 Logo Provide your own 300x300px logo Square 310×150 Logo Provide your own 620x300px logo Splash Screen You must have a “scale-200” image […]
All posts by
Application Settings
Right click on the project in Solution Explorer and choose Properties > Settings tab Use this page to create individual application settings Scope Typically select 'User'. If you select Application scope then Settings.Default[] will be read-only (save deosn't work) Visual Studio will create the files "Settings.settings" and "Settings.Designer".settings that contain the singleton class Settings. Reading and writing […]
Creating Random
Create random number System.Random rand = new System.Random(); //Creates seed value from system clock if no seed supplied int iTemp = rand.Next(1, (100+1)); //Min possible value, max possible value+1
Create Random String
Create A Random String //******************************************** //******************************************** //********** GENERATE RANDOM STRING ********** //******************************************** //******************************************** private string GenerateRandomString (int length) { int Count; const string STRING_CHARACTER_SET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; string OutputString = ""; System.Random rand = new System.Random(); //Creates seed value from system clock if no seed supplied for (Count = 0; Count < length; Count++) { OutputString […]
Converting IP Addresses
Connverting from a IPAddress to a String sTemp = IpAddress1.ToString(); Connverting from a string to IP Address IPAddress address; if (!IPAddress.TryParse(OurIpString, out address)) address = IPAddress.Parse("255.255.255.255"); //Error – use default broadcast address Convert from IP address to bytes Byte[] bytes = address.GetAddressBytes();
Form Special Buttons
Button Triggered When Enter Pressed Select form AcceptButton > select the button to use. Button Triggered When Escape Pressed Select form CancelButton > select the button to use. Dialog result buttons Select the button Dialog result
Commercialization
Windows 10 IoT Core Commercialization Signing Up https://www.windowsforiotdevices.com/ IoT Core manufacturing guide https://docs.microsoft.com/en-us/windows-hardware/manufacture/iot/iot-core-manufacturing-guide
Automatic Updates
Windows IoT apps can be automatically updated via the Windows store for Windows 10 IoT Core Pro customers: https://msdn.microsoft.com/en-gb/windows/hardware/commercialize/service/iot/updating-iot-core-apps
Sleep
Thread Sleep
Sleep
Sleep thread