SecurityContext Property

log4net SDK Reference |

# SmtpPickupDirAppender.SecurityContext Property

Gets or sets the SecurityContext used to write to the pickup directory.

[Visual Basic]
Public Property SecurityContext As SecurityContext
[C#]
public log4net.Core.SecurityContext SecurityContext {get; set;}

#### Property Value

The SecurityContext used to write to the pickup directory.

#### Remarks

Unless a SecurityContext specified here for this appender the DefaultProvider is queried for the security context to use. The default behavior is to use the security context of the current thread.

#### See Also

SmtpPickupDirAppender Class | log4net.Appender Namespace