Loading color scheme

Ensure Consistency of Stored Data by Using Cyclic Redundancy Check (CRC)

Having data secure is critical for the reliability of the applications. It is very important to have data consistent when managing user's finance, ensuring reliable control of industrial processes, ensuring stable work of medical equipment, etc. But the storage sometimes fails, the transmission lines fail, lastly, there are bugs in the software application. All those factors produce corruption to critical data. 

Read more
How to kill process by name in Windows using WinAPI?

Sometimes you may need to terminate (kill) a process in Windows. Why may you need this? For example, you have a kiosk and you need some application to be constantly running (the Kiosk GUI), but this application is written not perfectly, it hangs. You cannot make it work better, because it's not you who wrote it. You can write a small helper application that will be checking the status of an application, say, by sending some messages to its window. And if the application window does not respond, your tiny app will just kill the GUI app and restart it.

Leaving sending messages and re-launching applications out of the scope of this small article, let's find out how to actually kill the application. 

Read more
How to Enable TLS v1.2 in .NET Framework 4.0

Sometimes you need to use SSL/TLS protocol version 1.2 in your existing .NET 4.0 C# applications. The trick is that by default .NET 4.0 only supports TLS v1.0 and there is no standard way of forcing to use never TLS version. Why may you need a newer TLS version? Because some REST or WebService API providers have switched to using TLS v1.2 as a more secure and up-to-date protocol. 

When you get the following error, this may be also because of the outdated TLS version.

The request was aborted: Could not create SSL/TLS secure channel.
Read more
Get all interesting articles to your inbox
Please wait