public void AuthFailure() { var cmd = new AuthFailure("Access Denied"); cmd = (AuthFailure)(CtpCommand)cmd; Console.WriteLine(cmd.ToString()); }