Skip to main content

Posts

Showing posts with the label NetworkCredential

Async in c#, web service Credential

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SimActivation.aspx.cs"  Async="true" Inherits="SimActivation" %> com.att.wireless.eod.Provision p = new com.att.wireless.eod.Provision(); p.Credentials = new System.Net.NetworkCredential("xx", "xx", "costudio.com"); p.Activate_SIM_PPUCompleted +=new com.att.wireless.eod.Activate_SIM_PPUCompletedEventHandler(UpdatePhoneNumber); p.Activate_SIM_PPUAsync(koreId, "VRG1", activateDate, "lbt", string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, string.Empty, 99, string.Empty); public void UpdatePhoneNumber(object o, com.att.wireless.eod.Activate_SIM_PPUCompletedEventArgs e) { if (e.Result.Status_Code.Equals("1")) dm.ActivateWithPhone(koreId, e.Result.MSISDN); Response.Write("Status Code: " + e.Result.Status_Code + ", MSISDN:" + e.Result.MSISDN + ", Batch_Identi...