.Connecting remotely to the command line

SSH Use a SSH client (e.g. PuTTY, FireFTP, etc) Give it the device IP address, select SSH, port 22. These are the default user account details: Username: Administrator Password: p@ssw0rd (this will likely may have been changed by you when ssetting up the device) If it won't connect try re-booting the device (we had to after […]

Read More

Creating A New Project

Development Platform Download the latest free Visual Studio community edition from Microsoft. When installing ensure the “Universal Windows Platform development” option is included. Create A New Project Menu > File > New Project Visual C# > Blank App (Universal Windows) Give the project and name and location and create it. The version of Windows 10 […]

Read More

Cost

Non commercial use Free Commercial Use Appears to be free too, but with some conditions on requirring you to identify your OS images with BIOS data and ensure OS updating can happen.  See the Commerical Terms of Use from Microsoft.  Here's the clause that states its free (updated 2016-11): License Grant Subject to the requirements […]

Read More

Programming Apps

Apps can be developed using Visual Studio 2015 (Community edition can be downloaded for free). Apps can be written using languages such as C# or Visual Basic with XAML, JavaScript with HTML, or C++ with DirectX and/or Extensible Application Markup Language (XAML)  

Read More

Creating image for for a Raspberry Pi

Install 'Windows 10 IoT Core Dashboard' from https://developer.microsoft.com/en-us/windows/iot/Downloads You create the SD card image using this application. Set the following: Device Name:            <The name you want to use> Administrator Password:    <The password you want to use> (see note below) Don’t worry about the Wi-Fi connection profiles notice if shown. Accept the software licence […]

Read More

AND, OR and binary operations on variables

C# is not the same as C or C++!!!!!  Simple byte operations for example do not result in a byte result, they often result in an Int32 result An example binary operation This will generat the error “Cannot implicitly convert type ‘int’ to ‘byte’. An explicit conversion exists (are you missing a cast)”: Its because […]

Read More

Cast

  "Cannot implicitly convert type 'int' to 'byte'.  An explicit conversion exists (are you missing a cast)" error This will generat the error: TxData[ByteIndex++] = (byte)TagIdCharacter[0] | 0x80; Its because the result of the IOR operation does not result in a byte, so you need to use parenthesis: TxData[ByteIndex++] = (byte)(TagIdCharacter[0] | 0x80);      

Read More

Copy a form

Copy form within a project Right click on the source form > Copy Right click on the project > Paste Right click on the new form > Rename Change manually the class name in .cs Change manually the class and constructor name in .cs Change manually the class name in .Designer.cs  

Read More