The Microsoft Foundation Classes encapsulate the Win32 Internet Extension (WinInet) functions in a manner that provides a familiar context for MFC programmers. MFC provides three Internet file classes (CInternetFile, CHttpFile, and CGopherFile) derived from the CStdioFile class. Not only do these classes make retrieving and manipulating Internet data familiar to programmers who have used CStdioFile for local files, but with these classes you can handle local files and Internet files in a consistent, transparent manner.
In addition, the MFC WinInet classes provide the following advantages: