NET Logging Library
LicenseKey Property (Log)
Example 



KellermanSoftware.NetLoggingLibrary Namespace > Log Class : LicenseKey Property
The license key from your receipt
Syntax
Public Shared Property LicenseKey As String
Dim value As String
 
Log.LicenseKey = value
 
value = Log.LicenseKey
public static string LicenseKey {get; set;}
public:
static property String^ LicenseKey {
   String^ get();
   void set (    String^ value);
}
Example
Log.UserName = "John Smith 10101";
Console.WriteLine(Log.UserName);
 
Log.LicenseKey = "asdfasf2910==";
Console.WriteLine(Log.LicenseKey);
Log.UserName = "John Smith 10101"
Console.WriteLine(Log.UserName)
 
Log.LicenseKey = "asdfasf2910=="
Console.WriteLine(Log.LicenseKey)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Log Class
Log Members