RasEntry Members

DotRas SDK

Collapse image Expand Image Copy image CopyHover image

The RasEntry type exposes the following members.

Constructors

  Name Description
Public method RasEntry
Initializes a new instance of the RasEntry class.

Methods

  Name Description
Public method ClearCredentials()()()()
Clears the stored credentials for the entry.
Public method ClearCredentials(RasPreSharedKey)
Clears the stored credentials for the entry.
Public method Clone
Creates a copy of this object.
Public method Static member CreateBroadbandEntry(String, RasDevice)
Creates a new broadband entry.
Public method Static member CreateBroadbandEntry(String, RasDevice, Boolean)
Creates a new broadband entry.
Public method Static member CreateDialUpEntry
Creates a new dial-up entry.
Public method CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public method Static member CreateVpnEntry(String, String, RasVpnStrategy, RasDevice)
Creates a new virtual private network (VPN) entry.
Public method Static member CreateVpnEntry(String, String, RasVpnStrategy, RasDevice, Boolean)
Creates a new virtual private network (VPN) entry.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method Static member Exists
Determines whether an entry exists within the phone book at the path specified.
Public method GetCredentials()()()()
Retrieves the credentials for the entry.
Public method GetCredentials(RasPreSharedKey)
Retrieves the credentials for the entry.
Public method GetCustomAuthData
Retrieves connection specific authentication information.
Public method GetEapUserData
Retrieves user-specific Extensible Authentication Protocol (EAP) information for the specified phone book entry.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public method Remove
Removes the entry from the phone book.
Public method Rename
Renames the entry.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Update
Updates the entry.
Public method UpdateCredentials(NetworkCredential)
Updates the user credentials for the entry.
Public method UpdateCredentials(NetworkCredential, Boolean)
Updates the user credentials for the entry.
Public method UpdateCredentials(RasPreSharedKey, String)
Updates the user credentials for the entry.
Public method UpdateCustomAuthData
Updates the custom authentication data.
Public method UpdateEapUserData
Updates the user-specific Extensible Authentication Protocol (EAP) information in the registry.

Properties

  Name Description
Public property AlternatePhoneNumbers
Gets a collection of alternate phone numbers that are dialed in the order listed if the primary number fails.
Public property AreaCode
Gets or sets the area code.
Public property AutoDialDll Obsolete.
Gets or sets the path to the custom-dial DLL.
Public property AutoDialFunc Obsolete.
Gets or sets the name of the callback function for the customized AutoDial handler.
Public property Channels
Gets or sets the channels.
Public property CountryCode
Gets or sets the country/region code portion of the phone number.
Public property CountryId
Gets or sets the country/region identifier.
Public property CustomAuthKey
Gets or sets the authentication key provided to the Extensible Authentication Protocol (EAP) vendor.
Public property CustomDialDll
Gets or sets the path for the dynamic link library (DLL) that implements the custom-dialing functions.
Public property Device
Gets or sets the remote access device.
Public property DialExtraPercent
Gets or sets the percent of total bandwidth that must be used before additional subentries are dialed.
Public property DialExtraSampleSeconds
Gets or sets the number of seconds the number of seconds before additional subentries are connected.
Public property DialMode
Gets or sets the dial mode for the multilink subentries associated with this entry.
Public property DnsAddress
Gets or sets the IP address of the DNS server.
Public property DnsAddressAlt
Gets or sets the IP address of an alternate DNS server.
Public property DnsSuffix
Gets or sets the Domain Name Service (DNS) suffix for the connection.
Public property EncryptionType
Gets or sets the type of encryption to use with the connection.
Public property EntryType
Gets or sets the type of phone book entry.
Public property FrameSize
Gets or sets the network protocol frame size.
Public property FramingProtocol
Gets or sets the framing protocol used by the server.
Public property HangUpExtraPercent
Gets or sets the percent of total bandwidth used before subentries are disconnected.
Public property HangUpExtraSampleSeconds
Gets or sets the number of seconds before subentries are disconnected.
Public property Id
Gets the id of the phone book entry.
Public property IdleDisconnectSeconds
Gets or sets the number of seconds after which the connection is terminated due to inactivity.
Public property IPAddress
Gets or sets the IP address.
Public property IPv4InterfaceMetric
Gets or sets the metric of the IPv4 stack for this interface.
Public property IPv6Address
Gets or sets the IPv6 address.
Public property IPv6DnsAddress
Gets or sets the IPv6 address of the preferred DNS server.
Public property IPv6DnsAddressAlt
Gets or sets the IPv6 address of the alternate DNS server.
Public property IPv6InterfaceMetric
Gets or sets the metric of the IPv6 stack for this interface.
Public property IPv6PrefixLength
Gets or sets the IPv6 subnet prefix length.
Public property Name
Gets the name of the entry.
Public property NetworkOutageTime
Gets or sets the amount of time, in minutes, that IKEv2 packets will be transmitted without a response before the connection is considered lost.
Public property NetworkProtocols
Gets or sets the network protocols to negotiate.
Public property Options
Gets or sets the entry options.
Public property Owner
Gets the owner of the entry.
Public property PhoneNumber
Gets or sets the phone number.
Public property PrerequisiteEntryName
Gets or sets the entry name that will be dialed from the prerequisite phone book.
Public property PrerequisitePhoneBook
Gets or sets the path to a phone book file.
Public property RedialCount
Gets or sets the number of times RAS attempts to redial a connection.
Public property RedialPause
Gets or sets the number of seconds to wait between redial attempts.
Public property Script
Gets or sets the path of the script file.
Public property SubEntries
Gets the collection of multilink subentries associated with this entry.
Public property TcpWindowSize
Gets or sets the TCP window size for all TCP sessions that run over this connection.
Public property VpnStrategy
Gets or sets the VPN strategy to use when dialing a VPN connection.
Public property WinsAddress
Gets or sets the IP address of the WINS server.
Public property WinsAddressAlt
Gets or sets the IP address of an alternate WINS server.
Public property X25Address
Gets or sets the X.25 address to connect to.
Public property X25Facilities
Gets or sets the facilities to request from the X.25 host upon connection.
Public property X25PadType
Gets or sets the X.25 PAD type.
Public property X25UserData
Gets or sets the additional connection information supplied to the X.25 host upon connection.

See Also