public override ServerTimeRequest.OutputType HandleServerTime(ServerTimeRequest.InputType input)
        {
            ServerTimeRequest.OutputType result = new ServerTimeRequest.OutputType();
            result.ServerTime = DateTime.UtcNow;

            return result;
        }
Example #2
0
 public ServerTimeReply ServerTime(ServerTimeRequest r)
 {
     return(ServerTimeReply.CreateSuccess(DateTime.UtcNow.DateTimeUtcToString()));
 }