简体   繁体   中英

c++ network credentials

I have web service in my MFC Application and I want to write something like:

WebService * ws = new WebService(); ws->Credentials = new NetworkCredentials(user, pass);

I could not find Credentials class in MFC. Is there such class in MFC?

MFC没有NetworkCredential类,但是如果使用.Net(CLR),则可以在System.Net命名空间中找到NetworkCredential (链接到相关的MSDN文章)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM