Pass Windows credentials to remote https WCF service

前端 未结 1 779
被撕碎了的回忆
被撕碎了的回忆 2020-12-11 07:18

I need some help, I\'m trying to pass windows credentials to a WCF service. In the IIS only Windows authentication is enabled for those service and runs over https.

相关标签:
1条回答
  • 2020-12-11 07:39

    Try:

    Client.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation;
    

    Keep the assignment from CredentialCache.

    0 讨论(0)
提交回复
热议问题