public async Task <int> ConnectBridge(string usernameN, string port, string ip)
        {
            Windows.Storage.StorageFolder storageFolder =
                Windows.Storage.ApplicationData.Current.LocalFolder;
            Windows.Storage.StorageFile usernameFile =
                await storageFolder.GetFileAsync("username.txt");

            if (usernameFile.ToString() != "")
            {
                if (username == null)
                {
                    var response = await ConnectTask(usernameN, port, ip);

                    List <char> list = response.Skip(25).ToList();
                    response = null;
                    foreach (char c in list)
                    {
                        response += c;
                    }
                    response = response.Remove(31);
                    String username1 = response;
                    this.username = username1;
                    await Windows.Storage.FileIO.WriteTextAsync(usernameFile, username1);
                }
            }

            return(10);
        }