C# Class WebApplications.Utilities.Service.ServerConfig

Exibir arquivo Open project: webappsuk/CoreLibraries Class Usage Examples

Public Properties

Property Type Description
Heartbeat System.TimeSpan
MaximumConnections int

Public Methods

Method Description
ServerConfig ( WellKnownSidType sidType, [ domainSid = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System

Initializes a new instance of the NamedPipeServer class.

ServerConfig ( [ identity = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System

Initializes a new instance of the NamedPipeServer class.

ServerConfig ( [ sddlForm, int maximumConnections = 1, [ name = null, System.TimeSpan heartbeat = default(TimeSpan) ) : System

Initializes a new instance of the NamedPipeServer class.

Method Details

ServerConfig() public method

Initializes a new instance of the NamedPipeServer class.
public ServerConfig ( WellKnownSidType sidType, [ domainSid = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System
sidType WellKnownSidType One of the enumeration of well known sid types, the value must not be /// . This defines /// who can connect to the pipe.
domainSid [ The domain SID. This value is required for the following values. /// This parameter is ignored for any other values. /// /// /// AccountAdministratorSid /// /// /// AccountGuestSid /// /// /// AccountKrbtgtSid /// /// /// AccountDomainAdminsSid /// /// /// AccountDomainUsersSid /// /// /// AccountDomainGuestsSid /// /// /// AccountComputersSid /// /// /// AccountControllersSid /// /// /// AccountCertAdminsSid /// /// /// AccountSchemaAdminsSid /// /// /// AccountEnterpriseAdminsSid /// /// /// AccountPolicyAdminsSid /// /// /// AccountRasAndIasServersSid /// ///
name [ The pipe name.
maximumConnections int The maximum number of connections.
heartbeat System.TimeSpan The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds, specify a negative value to disable.
return System

ServerConfig() public method

Initializes a new instance of the NamedPipeServer class.
/// Invalid pipe name.;name /// or /// Invalid pipe name.;name ///
public ServerConfig ( [ identity = null, [ name = null, int maximumConnections = 1, System.TimeSpan heartbeat = default(TimeSpan) ) : System
identity [ The identity of clients that can access the pipe (defaults to BuiltinUsers).
name [ The pipe name.
maximumConnections int The maximum number of connections.
heartbeat System.TimeSpan The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds, specify a negative value to disable.
return System

ServerConfig() public method

Initializes a new instance of the NamedPipeServer class.
public ServerConfig ( [ sddlForm, int maximumConnections = 1, [ name = null, System.TimeSpan heartbeat = default(TimeSpan) ) : System
sddlForm [ SDDL string for the SID used to create the /// object to /// identify clients that can access the pipe.
maximumConnections int The maximum number of connections.
name [ The pipe name.
heartbeat System.TimeSpan The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds, specify a negative value to disable.
return System

Property Details

Heartbeat public_oe property

The heartbeat timespan, ensures a connection is always available, defaults to once every 5 seconds.
public TimeSpan,System Heartbeat
return System.TimeSpan

MaximumConnections public_oe property

The maximum number of remote connections (defaults to 1)
public int MaximumConnections
return int