C# 클래스 Examples.ExamplesConsole.ExampleHelper

Provides implementation shared across examples
파일 보기 프로젝트 열기: MarcFletcher/NetworkComms.Net 1 사용 예제들

공개 메소드들

메소드 설명
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