NET Logging Library
UserName Property (Log)
Example 



KellermanSoftware.NetLoggingLibrary Namespace > Log Class : UserName Property
The user name for the license from your receipt
Syntax
Public Shared Property UserName As String
Dim value As String
 
Log.UserName = value
 
value = Log.UserName
public static string UserName {get; set;}
public:
static property String^ UserName {
   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