C# Class Windows.Networking.Sockets.StreamSocket

Inheritance: IStreamSocket, IClosable
ファイルを表示 Open project: ermau/WinRT.NET Class Usage Examples

Public Methods

Method Description
Close ( ) : void
ConnectAsync ( HostName hostName, string remoteServiceName, SocketProtectionLevel protectionLevel ) : StreamSocketConnectOperation
UpgradeToSslAsync ( SocketProtectionLevel protectionlevel, HostName validationHostName ) : UpgradeToSslOperation

Method Details

Close() public method

public Close ( ) : void
return void

ConnectAsync() public method

public ConnectAsync ( HostName hostName, string remoteServiceName, SocketProtectionLevel protectionLevel ) : StreamSocketConnectOperation
hostName HostName
remoteServiceName string
protectionLevel SocketProtectionLevel
return StreamSocketConnectOperation

UpgradeToSslAsync() public method

public UpgradeToSslAsync ( SocketProtectionLevel protectionlevel, HostName validationHostName ) : UpgradeToSslOperation
protectionlevel SocketProtectionLevel
validationHostName HostName
return UpgradeToSslOperation