C# 클래스 GoogleCloudExtension.TerminalServer.TerminalServerManager

This class manages the terminal server connection that are created to connect to the Windows VM with a the given set of credentials.
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio

공개 메소드들

메소드 설명
OpenSession ( Instance instance, WindowsInstanceCredentials credentials ) : void

Opens a new Terminal Server session against the given instance with the given set of credentials.

WriteRdpFile ( string path, Instance instance, WindowsInstanceCredentials credentials ) : void

Creates an .rdp file with the minimal set of settings required to connect to the VM.

비공개 메소드들

메소드 설명
AsHexadecimalString ( byte src ) : string
CreateRdpFile ( Instance instance, WindowsInstanceCredentials credentials ) : string
EncryptPassword ( string password ) : string

Encrypts the given password in a form that mstsc.exe will accept.

GetRdpFileName ( WindowsInstanceCredentials credentials ) : string

메소드 상세

OpenSession() 공개 정적인 메소드

Opens a new Terminal Server session against the given instance with the given set of credentials.
public static OpenSession ( Instance instance, WindowsInstanceCredentials credentials ) : void
instance Instance The Windows VM
credentials GoogleCloudExtension.GCloud.WindowsInstanceCredentials The credentials to use to connect.
리턴 void

WriteRdpFile() 공개 정적인 메소드

Creates an .rdp file with the minimal set of settings required to connect to the VM.
public static WriteRdpFile ( string path, Instance instance, WindowsInstanceCredentials credentials ) : void
path string
instance Instance
credentials GoogleCloudExtension.GCloud.WindowsInstanceCredentials
리턴 void