C ++ network credentials

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

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

I couldn't find the Credentials class in MFC. Is there such a class in MFC?

0


source to share


1 answer


MFC does not have a NetworkCredential class, but if you are using .NET (CLR), then you can find NetworkCredential in the System.Net Namespace (link refers to the related MSDN article).



+1


source







All Articles