The Server type exposes the following members.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkServer
Creates an instance of a generic server.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkBind(ServerModule)
Binds the specified module to its default port on all network interfaces.
Public methodSupported by the .NET Compact FrameworkBind(Int32, ServerModule)
Binds the specified module to the specified port on all network interfaces.
Public methodSupported by the .NET Compact FrameworkBind(IPEndPoint, ServerModule)
Binds the specified module to the specified endpoint.
Public methodSupported by the .NET Compact FrameworkDispose
Disposes the server object, releasing all listeners and sessions.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkStart
Starts the server.
Public methodSupported by the .NET Compact FrameworkStop
Stops the server.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkUnbind()()()()
Unbinds all modules.
Public methodSupported by the .NET Compact FrameworkUnbind(Int32)
Unbinds all modules bound to the specified port.
Public methodSupported by the .NET Compact FrameworkUnbind(IPAddress)
Unbinds all modules bound to the specified address.
Public methodSupported by the .NET Compact FrameworkUnbind(IPEndPoint)
Unbinds all modules bound to the specified endpoint.
Public methodSupported by the .NET Compact FrameworkUnbind(ServerModule)
Unbinds the specified module from all endpoints.

Properties

  NameDescription
Public propertySupported by the .NET Compact FrameworkBindings
Gets a read-only collection of server bindings.
Public propertySupported by the .NET Compact FrameworkIsRunning
Gets a value indicating whether the server is currently running.
Public propertySupported by the .NET Compact FrameworkKeys
Gets a collection of server keys.
Public propertySupported by the .NET Compact FrameworkLogWriter
Gets or sets the log writer used by this object.
Public propertySupported by the .NET Compact FrameworkModules
Gets an enumerator for currently bound modules.
Public propertySupported by the .NET Compact FrameworkSessions
Gets an enumerator for currently active sessions.
Public propertySupported by the .NET Compact FrameworkSettings
Gets server settings.
Public propertySupported by the .NET Compact FrameworkUsers
Gets a collection of users. Provides a simple user database which is used by default when no custom authentication has been defined.

Events

  NameDescription
Public eventSupported by the .NET Compact FrameworkAuthentication
Occurs when client is being authenticated.
Public eventSupported by the .NET Compact FrameworkConnecting
Occurs when a client is connecting.
Public eventSupported by the .NET Compact FrameworkDisconnected
Occurs when a client has disconnected.
Public eventSupported by the .NET Compact FrameworkErrorOccurred
Occurs when an error occurs while processing requests.
Public eventSupported by the .NET Compact FrameworkPreAuthentication
Occurs when client authentication is about to start.

See Also