Exemplo n.º 1
0
 public string ConnectToFileServer(string ipAddress, int port, string UserName, string Password)
 {
     try
     {
         if (m_proxy != null)
         {
             string res = m_proxy.ConnectToFileServer(ipAddress, port, UserName, Password);
             return(res);
         }
         else
         {
             return("proxy not initialize");
         }
     }
     catch (Exception err)
     {
         return("error");
     }
 }
Exemplo n.º 2
0
 public string ConnectToFileServer(string ipAddress, string UserName, string Password)
 {
     try
     {
         if (m_proxy != null)
         {
             string res = string.Empty;
             res = m_proxy.ConnectToFileServer(ipAddress, UserName, Password);
             return(res);
         }
         else
         {
             return("proxy not initialize");
         }
     }
     catch (Exception err)
     {
         return(err.Message);
     }
 }