Export (0) Print
Expand All
Expand Minimize

ProcessModelComAuthenticationLevel Enumeration

Specifies the level of authentication for DCOM security.

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

public enum ProcessModelComAuthenticationLevel

Member nameDescription
CallSpecifies that DCOM authenticates the credentials of the client. This field is constant.

DCOM authenticates the credentials of the client when the server receives the request at the beginning of each remote procedure call.

ConnectSpecifies that DCOM authenticates the credentials of the client. This field is constant.

DCOM authenticates the credentials of the client only when the client establishes a relationship with the server.

This is the default value.

DefaultSpecifies that DCOM determines the authentication level. This field is constant.

DCOM determines the authentication level using its normal security-negotiation algorithm.

NoneSpecifies no authentication. This field is constant.
PktSpecifies that DCOM verifies that all data received is from the expected client. This field is constant.

The datagram transports always use Pkt authentication.

PktIntegritySpecifies that DCOM authenticates and verifies the data transferred. This field is constant.

DCOM verifies that none of the data transferred between the client and the server has been modified.

PktPrivacySpecifies that DCOM authenticates all previous levels and does encryption. This field is constant.

DCOM authenticates all previous levels and encrypts the argument value of each remote procedure call.

The ProcessModelComAuthenticationLevel enumerates the values to use when you set the ComAuthenticationLevel property.

The default is Connect.

NoteNote

The ProcessModelComAuthenticationLevel settings are relevant only when you use the ASP.NET process model (Internet Information Services [IIS] 5.n or compatible mode on IIS 6 only).

The following code example shows how to get the current ComAuthenticationLevel property value and then set the ComAuthenticationLevel property to a new value of Call.


                // Get the current ComAuthenticationLevel property value.
                ProcessModelComAuthenticationLevel comAuthLevel = 
                   processModelSection.ComAuthenticationLevel;

                // Set the ComAuthenticationLevel property to 
                // ProcessModelComAuthenticationLevel.Call.
                processModelSection.ComAuthenticationLevel =
                    ProcessModelComAuthenticationLevel.Call;

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft