/// <summary /> public virtual Task <Console> GetConsoleAsync(Identifier serverId, ConsoleProtocol protocol, RemoteConsoleType type, CancellationToken cancellationToken = default(CancellationToken)) { return(_computeApi.GetConsoleAsync <Console>(serverId, protocol, type, cancellationToken)); }
/// <summary /> public virtual Task<Console> GetConsoleAsync(Identifier serverId, ConsoleProtocol protocol, RemoteConsoleType type, CancellationToken cancellationToken = default(CancellationToken)) { return _computeApi.GetConsoleAsync<Console>(serverId, protocol, type, cancellationToken); }
/// <inheritdoc cref="ComputeService.GetConsoleAsync" /> public static Console GetConsole(this ComputeService service, Identifier serverId, ConsoleProtocol protocol, RemoteConsoleType type) { return service.GetConsoleAsync(serverId, protocol, type).ForceSynchronous(); }