Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

WindowsSecurityContext.DomainName Property

Gets or sets the Windows domain name for this security context

[Visual�Basic]
Public�Property�DomainName�As�String
[C#]
public�string�DomainName�{get;�set;}

Property Value

The Windows domain name for this security context

Remarks

The default value for DomainName is the local machine name taken from the MachineName property.

This property must be set if Credentials is set to User (the default setting).

See Also

WindowsSecurityContext Class | log4net.Util Namespace