public string ImpersonateApplication(ref WindowsService.Authentication.OTAuthentication OTAuthentication, string applicationID) { WindowsService.Authentication.ImpersonateApplicationRequest inValue = new WindowsService.Authentication.ImpersonateApplicationRequest(); inValue.OTAuthentication = OTAuthentication; inValue.applicationID = applicationID; WindowsService.Authentication.ImpersonateApplicationResponse retVal = ((WindowsService.Authentication.Authentication)(this)).ImpersonateApplication(inValue); OTAuthentication = retVal.OTAuthentication; return(retVal.ImpersonateApplicationResult); }
WindowsService.Authentication.ImpersonateApplicationResponse WindowsService.Authentication.Authentication.ImpersonateApplication(WindowsService.Authentication.ImpersonateApplicationRequest request) { return(base.Channel.ImpersonateApplication(request)); }