Click or drag to resize

CSession Class

X#
Abstract class for wrapping an Internet session.
Inheritance Hierarchy
Object
  CSession
    CFtp
    CHttp

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax
 CLASS CSession
Request Example View Source

The CSession type exposes the following members.

Constructors
  NameDescription
Public methodCSession
Construct a CSession object.
Top
Properties
  NameDescription
Public propertyAccessType
The type of Internet session. The default type is INTERNET_OPEN_TYPE_DIRECT. The alternate type is INTERNET_OPEN_TYPE_PROXY.
Public propertyConnected
A logical value indicating the status of the connection.
Public propertyConnectHandle
Internet connection handle.
Public propertyError
The number of the last error code received.
Public propertyErrorMsg
A string representing the last error message received.
Public propertyHandle
The Internet session handle.
Public propertyOpenFlags
**Missing documentation **
Public propertyPassWord
The password necessary to establish the remote connection.
Public propertyPort
The Port number of the current session communication.
Public propertyProxy
A string representing the proxy for the remote connection.
Public propertyProxyBypass
A string representing the proxies to bypass when establishing the remote connection.
Public propertyRemoteHost
A string representing the Host name or IP address of the remote server.
Public propertyUserName
A string representing the User ID necessary to establish the remote connection.
Top
Methods
  NameDescription
Public methodCloseFile
Closes a remote file.
Public methodCloseRemote
Closes the Internet connection.
Public methodConnectRemote
Opens a connection to the Internet server.
Public methodDestroy
**Missing documentation **
Public methodInternetStatus
**Missing documentation **
Public methodOpen
Opens a connection to the Internet server.
Public methodSetResponseStatus
**Missing documentation **
Top
Fields
  NameDescription
Public fieldStatic memberogStatus
Public fieldStatic memberoLock
Top
Remarks
This class provides all necessary methods and properties as a base for sending and receiving files via Ftp and Http.
See Also

Reference