IntranetZoneCredentialPolicy Constructor ()

 

Initializes a new instance of the IntranetZoneCredentialPolicy class.

Namespace:   Microsoft.Win32
Assembly:  System (in System.dll)

public:
IntranetZoneCredentialPolicy()

Applications use this constructor to create objects that can be used to set the CredentialPolicy property.

The following code example demonstrates creating an instance of this class.

static void UseIntranetCredentialPolicy()
{
   IntranetZoneCredentialPolicy^ policy = gcnew IntranetZoneCredentialPolicy;
   AuthenticationManager::CredentialPolicy = policy;
}

.NET Framework
Available since 2.0
Return to top
Show: