Mono Class Library: System.Net.CredentialCache Overview | Members

System.Net.CredentialCache.DefaultCredentials Property

Gets the system credentials in use for the current process.

public static ICredentials DefaultCredentials { get; }

Value

A System.Net.ICredentials instance that represents the system credentials in use for the current process.

Permissions

TypeReason
System.Security.Permissions.EnvironmentPermissionRequires read access to the environment variable that contains the user name. See System.Security.Permissions.EnvironmentPermissionAccess.Read.

Remarks

This property is read-only.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0