Ejemplo n.º 1
0
 /// <summary>
 /// Validate credentials to use the Wip service
 /// </summary>
 public static WipService.MpxWebServicesPort Port()
 {
     WipService.credentials credentials = new MPXMobile.WipService.credentials();
     credentials.password = System.Configuration.ConfigurationSettings.AppSettings["LogP"];
     credentials.userName = System.Configuration.ConfigurationSettings.AppSettings["LogU"];
     WipService.MpxWebServicesPort port = new MPXMobile.WipService.MpxWebServicesPort();
     port.userCredentials = credentials;
     return(port);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Validate credentials to use the Wip service
 /// </summary>
 public static WipService.MpxWebServicesPort Port()
 {
     WipService.credentials credentials = new MPXMobile.WipService.credentials();
     credentials.password = System.Configuration.ConfigurationSettings.AppSettings["LogP"];
     credentials.userName = System.Configuration.ConfigurationSettings.AppSettings["LogU"];
     WipService.MpxWebServicesPort port = new MPXMobile.WipService.MpxWebServicesPort();
     port.userCredentials = credentials;
     return port;
 }