C# Класс Examples.ExamplesConsole.ExampleHelper

Provides implementation shared across examples
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GetServerDetails() публичный статический Метод

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.
Результат ConnectionInfo