RasDialer Members

DotRas SDK

Collapse image Expand Image Copy image CopyHover image

The RasDialer type exposes the following members.

Constructors

  Name Description
Public method RasDialer()()()()
Initializes a new instance of the RasDialer class.
Public method RasDialer(IContainer)
Initializes a new instance of the RasDialer class.

Methods

  Name Description
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 Dial
Dials the connection.
Public method DialAsync
Dials the connection asynchronously.
Public method DialAsyncCancel
Cancels the asynchronous dial operation.
Public method Dispose
Releases all resources used by the Component.
(Inherited from Component.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 SetEapUserData
Sets the EAP data used by the connection attempt.
Public method ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Properties

  Name Description
Public property AllowUseStoredCredentials
Gets or sets a value indicating whether stored credentials will be allowed if the credentials have not been provided.
Public property AuthenticationCookie
Gets or sets a pointer to the authentication cookie.
Public property AutoUpdateCredentials
Gets or sets a value indicating whether the saved credentials will be updated upon completion of a successful connection attempt.
Public property CallbackId
Gets or sets the application defined callback id.
Public property CallbackNumber
Gets or sets the callback number.
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public property Credentials
Gets or sets the credentials.
Public property EapOptions
Gets or sets the extensible authentication protocol (EAP) options.
Public property EntryName
Gets or sets the name of the entry to dial.
Public property HangUpPollingInterval
Gets or sets the polling interval, in milliseconds, to determine whether the connection has successfully disconnected during an asynchronous connection attempt.
Public property InterfaceIndex
Gets or sets the interface index on top of which the Virtual Private Network (VPN) connection will be dialed.
Public property IsBusy
Gets a value indicating whether the component is busy dialing a connection.
Public property Options
Gets or sets the options.
Public property Owner
Gets or sets the parent window.
Public property PhoneBookPath
Gets or sets the full path (including filename) of a phone book.
Public property PhoneNumber
Gets or sets the phone number to dial.
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public property SkipPppAuthentication
Gets or sets a value indicating whether point-to-point (PPP) authentication is skipped.
Public property SubEntryId
Gets or sets the one-based index of the subentry to dial.
Public property SynchronizingObject
Gets or sets the object used to marshal event-handler calls that are issued by the component.
(Inherited from RasComponent.)
Public property Timeout
Gets or sets the length of time (in milliseconds) until the asynchronous connection attempt times out.

Events

  Name Description
Public event DialCompleted
Occurs when the asynchronous dial operation has completed.
Public event Disposed
Occurs when the component is disposed by a call to the Dispose()()()() method.
(Inherited from Component.)
Public event Error
Occurs when the component has encountered an error.
(Inherited from RasComponent.)
Public event StateChanged
Occurs when the connection state changes.

See Also