C# Class Examples.ExamplesConsole.ExampleHelper

Provides implementation shared across examples
Afficher le fichier Open project: MarcFletcher/NetworkComms.Net Class Usage Examples

Méthodes publiques

Méthode Description
GetServerDetails ( ApplicationLayerProtocolStatus applicationLayerProtocol = ApplicationLayerProtocolStatus.Enabled ) : ConnectionInfo

Request user to provide server details and returns the result as a ConnectionInfo object. Performs the necessary validation and prevents code duplication across examples.

Method Details

GetServerDetails() public static méthode

Request user to provide server details and returns the result as a ConnectionInfo object. Performs the necessary validation and prevents code duplication across examples.
public static GetServerDetails ( ApplicationLayerProtocolStatus applicationLayerProtocol = ApplicationLayerProtocolStatus.Enabled ) : ConnectionInfo
applicationLayerProtocol ApplicationLayerProtocolStatus If enabled NetworkComms.Net uses a custom /// application layer protocol to provide useful features such as inline serialisation, /// transparent packet transmission, remote peer handshake and information etc. We strongly /// recommend you enable the NetworkComms.Net application layer protocol.
Résultat ConnectionInfo