Export (0) Print
Expand All

CInternetFile Members 

This topic has been updated for Visual Studio 2005 SP1.

Base Class Members

CObject Members

CFile Members

CStdioFile Members

Construction

CInternetFile

Constructs a CInternetFile object.

Operations

SetReadBufferSize

Sets the size of the buffer where data will be read.

SetWriteBufferSize

Sets the size of the buffer where data will be written.

Overridables

Abort

Closes the file, ignoring all warnings and errors.

Close

Closes a CInternetFile and frees its resources.

Flush

Flushes the contents of the write buffer and makes sure the data in memory is written to the target machine.

GetLength

Returns the size of the file.

Read

Reads the number of specified bytes.

ReadString

Reads a stream of characters.

Seek

Repositions the pointer in an open file.

Write

Writes the number of specified bytes.

WriteString

Writes a null-terminated string to a file.

Data Members

m_hFile

A handle to a file.

Operators

operator HINTERNET

A casting operator for an Internet handle.

Smart Device Developer Notes

This section has been updated for Visual Studio 2005 SP1.

Starting in Visual Studio 2005 SP1, this class is supported in Smart Device projects.

The Smart Device version of CInternetFile Class does not support the following methods:

See Also

Community Additions

ADD
Show:
© 2014 Microsoft