FormsAuthenticationCredentials Constructor ()


This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the FormsAuthenticationCredentials class.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public FormsAuthenticationCredentials()

The following code example shows how to create a FormsAuthenticationCredentials object.

// Create a new FormsAuthenticationCredentials object.
FormsAuthenticationCredentials newformsAuthenticationCredentials = 
    new FormsAuthenticationCredentials();

.NET Framework
Available since 2.0
Return to top