private static AuthResult BuildOfflineResult(string username) { return(new AuthResult { SelectedProfile = new AuthUserProfile { Name = username, Id = CryptUtil.GetStringMD5(username) }, ClientToken = CryptUtil.Guid, AccessToken = CryptUtil.Guid, UserType = "mojang", IsSuccessful = true, }); }