I've got to this point the code access the discovery and returns a ticked, but how do I pass the ticket to a non crm service, on this case just an asms on my crm's isv folder?
the code below retrieves the ticket but the asmx still redirects to the signin page
CrmAuthenticationToken sdktoken = new CrmAuthenticationToken();
sdktoken.AuthenticationType = 2;
sdktoken.OrganizationName = orgInfo.OrganizationName;
sdktoken.CrmTicket = ticketResponse.CrmTicket;
CrmService x = new CrmService();
x.CrmAuthenticationTokenValue = sdktoken;
x.Url = orgInfo.CrmServiceUrl;
// x.Url = "https://myurl/isv/services/myserv.asmx";
WebReference.myserv c = new WebReference.myserv();
Response.Write(c.mymethod().ToString());