Exemple #1
0
    public static async Task StartConnectionAsync(LoginObject loginInfor)
    {
        _connection = new WSConnection();
        await _connection.StartConnectionAsync("ws://file.pingg.vn:83/filetracking", loginInfor);

        //await _connection.StartConnectionAsync(Constants.ServerAddress, loginInfor);
    }
Exemple #2
0
 public static async Task StartConnectionAsync(LoginObject loginInfor)
 {
     try
     {
         _connection = new WSConnection();
         await _connection.StartConnectionAsync(Constants.ServerAddress, loginInfor);
     }catch { }
 }