A thought just occurred to me. My system will now have 2 cerb devices in it with 2 different applications, which need to be deployed at the same time when I hit Run.
How do I specify which device get’s which firmware when both devices have the same name in Visual Studio? Further what do I do if there are 3 or 4 or more?
Last part. Is there a way to lock the project to a particular device name? If for some reason that device isn’t connected it won’t just look for any device to update?
Yes, and the alphabet + digits has 36 different characters.
I once implemented an pdf exporter.
there was no binary data in the file.
Bitmaps and fonts where ASCII encoded.
It used an encoding which packed as many bits into each character as possible.
Can’t remember how it was called.
May be it was Base64:
var object myUniqueId = null;
// create a en empty byte array
var myMac = new byte[16];
//generate a random based on a fixed seed this will guarantee that we get the
//same Random number everytime based on the provided string... make your string UNIQUE...
//This would be great if only each board had a UNIQUE SERIAL NUmber ahhhhhh...
var r = myUniqueId != null ? new Random(myUniqueId.GetHashCode()) : new Random();
// fill the newly generated bytes into the variable
r.NextBytes(myMac); //this will give us a unique ID that will fit our byte size :)