I've been using OneDrive for photos and documents since Windows 8.1 came out and it's been the best way to keep a backup of what I have.
I also use GoogleDrive on my phone with Android 15 to back up my phone.
Over the past 12 years, I've seen people losing data on their PC or phone because they don't use cloud services. Even though I warn them to use them. Especially those who make money working on their PC with thousands of files.
A 1TB cloud service is extremely cheap these days and there's no reason for you not to use one.
I've seen people losing valuable data on their phone because they don't use GoogleDrive on their phone and this is much more common than on a PC.
On Windows, I've seen people having hardware problems with their HD and SSD and losing all their data just because they refused to use OneDrive, which offered the backup option.
There's still an external SSD as a second copy to be used together with your OneDrive.
Bitlocker is completely safe, you will only have problems with it if you use bad programs that mess with the integrity of Windows.
Your iPhone and Android also have encryption and if you mess with the system gears it can bug and you can lose your data too.
Windows 11 is perfect if used correctly.
But people are stupid enough to buy a brand new car, open the engine and start messing with it until it stops working, and then go to the car manufacturer to complain that it stopped working just because the user messed up the engine.
Question
DPyro
I have the following hex string:
In hex editor it would look like this:
I need to get the data at offset 0x1C - 0x2B (9050AA35B23BDA4B3532F2ABDF4A382E)
I have the following code:
byte[] data = ConvertHexStringToByteArray(Encoding.Default.GetString(hexstring));
MemoryStream input = new MemoryStream(data);
BinaryReader reader = new BinaryReader(input);
reader.ReadBytes(0x1C);
byte[] buffer = reader.ReadBytes(16);
[/CODE]
Link to comment
https://www.neowin.net/forum/topic/1150368-c-getting-values-from-byte-array/Share on other sites
5 answers to this question
Recommended Posts