In The Hand LtdIn The Hand
RemoteAccessEntryOptions Enumeration
NamespacesInTheHand.Net.RemoteAccessRemoteAccessEntryOptions
.NET Components for Mobility
Specifies options for the RAS Entry.
Declaration Syntax
C#Visual Basic
[FlagsAttribute]
public enum RemoteAccessEntryOptions
<FlagsAttribute> _
Public Enumeration RemoteAccessEntryOptions
Members
MemberDescription
UseCountryAndAreaCodes
If this flag is set, the CountryCode, and AreaCode members are used to construct the phone number. If this flag is not set, these members are ignored.

SpecificIPAddress
Use the specified IP address rather than having one assigned automatically.

SpecificNameServers
Use the nameservers set in this entry rather than those assigned automatically.

IpHeaderCompression
If this flag is set, RAS negotiates to use IP header compression on PPP connections.

RemoteDefaultGateway
If this flag is set, the TCP/IP route table will be modified so that the default route of that RAS connection will be chosen in preference to the existing default routes.

DisableLcpExtensions
If this flag is set, RAS disables the PPP LCP extensions defined in RFC 1570. This may be necessary to connect to certain older PPP implementations, but it interferes with features such as server callback. Do not set this flag unless specifically required.

SoftwareCompression
If this flag is set, software compression is negotiated on the link. Setting this flag causes the PPP driver to attempt to negotiate CCP with the server. This flag should be set by default, but clearing it can reduce the negotiation period if the server does not support a compatible compression protocol.

RequireEncryptedPassword
If this flag is set, only password schemes that provide enhanced security can be used to authenticate the client with the server. This prevents the PPP driver from using the PAP plaintext authentication protocol to authenticate the client. The CHAP and SPAP authentication protocols are also supported. Clear this flag for increased interoperability, and set it for enhanced security.

RequireMsEncryptedPassword
If this flag is set, only the Microsoft CHAP password scheme can be used to authenticate the client with the server. This prevents the PPP driver from using the PPP plaintext authentication protocol or MD5-CHAP. The flag should be cleared for maximum interoperability and should be set for the highest level of security. This flag takes precedence over RequireEncryptedPassword.

RequireDataEncryption
If this flag is set, data encryption must be negotiated successfully or the connection should be dropped. This flag is ignored unless RequireMsEncryptedPassword is also set.

NetworkLogon
If this flag is set, RAS logs on to the network after the point-to-point connection is established.

UseLogonCredentials
If this flag is set, RAS uses the user name, password, and domain of the currently logged-on user when dialing this entry. This flag is ignored unless RequireMsEncryptedPassword is also set.

DialAsLocalCall
If this flag is set, RAS constructs the phone number as a local call, including the area code if it is different from the area code at the current location. This flag corresponds to the force local option in various dialog boxes.

ProhibitPap
If this flag is set to 1, the use of the Password Authentication Protocol (PAP) authentication method is disabled. If the flag is set to zero (0), then the client can negotiate the use of the PAP authentication method with the server.

ProhibitChap
If this flag is set to 1, the use of the Challenge Handshake Authentication Protocol (CHAP) authentication method is disabled. If this flag is set to zero (0), the client can negotiate the use of the CHAP authentication method with the server.

ProhibitMsChap
If this flag is set to 1, the use of the Microsoft Challenge Handshake Authentication Protocol (MSCHAP) authentication method is disabled. If this flag is set to zero (0), the client can negotiate the use of the MSCHAP authentication method with the server.

ProhibitMsChap2
If this flag is set to 1, the use of the Microsoft Challenge Handshake Authentication Protocol version 2.0 (MSCHAPv2) authentication method is disabled. If this flag is set to zero (0), the client can negotiate the use of the MSCHAPv2 authentication method with the server.

ProhibitEap
If this flag is set to 1, the use of the Extensible Authentication Protocol (EAP) authentication method is disabled. If this flag is set to zero (0), the client can negotiate the use of the EAP authentication method with the server.

PreviewUserPassword
If this flag is set, RAS will display a username and password dialog box before dialing.

CustomScript
For Windows CE .NET, this flag must be set for RAS to invoke a custom-scripting DLL after establishing the connection to the server.

HasFlag
Determines whether one or more bit fields are set in the current instance.

Assembly: InTheHand.Net.Extended (Module: InTheHand.Net.Extended) Version: 7.0.0.0