static async Task Main(string[] args) { channel = GrpcChannel.ForAddress("https://localhost:5001"); client = new Server.Server.ServerClient(channel); currentMenu = LoginMenu; // Let's test memory locking //SecureString locked = "Test"; //string unlocked = locked; //Console.WriteLine(unlocked); //Console.WriteLine(locked); //_ = Console.ReadKey(); MainLoop(); }
public void ChangeChannel(string address) { _channel = GrpcChannel.ForAddress(address); Client = new Server.Server.ServerClient(_channel); }
private RPCHandler() { _channel = GrpcChannel.ForAddress("https://localhost:5001"); Client = new Server.Server.ServerClient(_channel); }