CredentialCache.DefaultNetworkCredentials Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the network credentials of the current security context.

Namespace:  System.Net
Assembly:  System.Net (in System.Net.dll)

Syntax

Public Shared ReadOnly Property DefaultNetworkCredentials As NetworkCredential
public static NetworkCredential DefaultNetworkCredentials { get; }

Property Value

Type: System.Net..::.NetworkCredential
Returns NetworkCredential.

Version Information

Windows Phone OS

Supported in: 8.1

See Also

Reference

CredentialCache Class

System.Net Namespace