示例#1
0
 public DataTable GetModules()
 {
     using (CommonServiceClient client = SoapClientFactory.CreateCommonServiceClient())
     {
         byte[] loginTicket  = WebServiceSecurity.EncryptLoginer(Loginer.CurrentUser);
         byte[] receivedData = client.GetModules(loginTicket);
         return(ZipTools.DecompressionDataSet(receivedData).Tables[0]);
     }
 }