예제 #1
0
        public static async Task <string> CreateChatName(string name)
        {
            string chatname = Logic.ToTitle(name);

            try
            {
                await SecureStorage.SetAsync(Constants.chatname, chatname);
            }
            catch (Exception)
            {
                // Possible that device doesn't support secure storage on device.
            }
            return(chatname);
        }