C# Class Windows.Networking.Sockets.StreamSocket

Inheritance: IStreamSocket, IClosable
Afficher le fichier Open project: ermau/WinRT.NET Class Usage Examples

Méthodes publiques

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

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

ConnectAsync() public méthode

public ConnectAsync ( HostName hostName, string remoteServiceName, SocketProtectionLevel protectionLevel ) : StreamSocketConnectOperation
hostName HostName
remoteServiceName string
protectionLevel SocketProtectionLevel
Résultat StreamSocketConnectOperation

UpgradeToSslAsync() public méthode

public UpgradeToSslAsync ( SocketProtectionLevel protectionlevel, HostName validationHostName ) : UpgradeToSslOperation
protectionlevel SocketProtectionLevel
validationHostName HostName
Résultat UpgradeToSslOperation