Data can be encrypted using Symmetric or Asymmetric Cryptography keys. Symmetric encryption involves the same key to encrypt as well as to decrypt the message. Both parties communicating the message has to know the key. Key distribution is a problem.
A quick code sample to convert object properties into name value string.
/// Converts to a string.
private string ConvertToString(object obj)
var propertyInfos = obj.GetType().GetProperties();
var sb = new StringBuilder();
foreach (var info in propertyInfos)
sb.Append(info.Name + ": ");
var pObj = info.GetValue(obj, null);
foreach (var o in (pObj as IEnumerable))
There are many software projects that are heavily driven by User Interface. Testing these UI manually becomes a hectic job. An automated way to tests the functionality of these UI is desirable. Manual checks of the look and feel of
There are different ways to check if the internet connection is available. Below are few simple ways to do it. System.Net Namespace offers different classes to acheive that. WebRequest, WebResponse, HttpWebRequest and HttpWebResponse classes can be used to call a website