Поделиться через


IWMSInternalAdminNetSource3 interface (wmsinternaladminnetsource.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMSInternalAdminNetSource3 interface provides improved methods to find proxy servers.

To obtain a pointer to an instance of this interface, call the QueryInterface method of the IDispatch method retrieved by INSNetSourceCreator::GetNetSourceAdminInterface.

Inheritance

The IWMSInternalAdminNetSource3 interface inherits from IWMSInternalAdminNetSource2. IWMSInternalAdminNetSource3 also has these types of members:

Methods

The IWMSInternalAdminNetSource3 interface has these methods.

 
IWMSInternalAdminNetSource3::FindProxyForURLEx2

The FindProxyForURLEx2 method finds a proxy server name and port to use for the user.
IWMSInternalAdminNetSource3::GetCredentialsEx2

The GetCredentialsEx2 method retrieves a cached password. This improved version of IWMSInternalAdminNetSource2::GetCredentialsEx adds a flag (fClearTextAuthentication) that indicates whether credentials were sent in unencrypted form over the network.
IWMSInternalAdminNetSource3::SetCredentialsEx2

The SetCredentialsEx2 method adds a password to the cache. This improved version of IWMSInternalAdminNetSource2::SetCredentialsEx adds a flag (fClearTextAuthentication) that indicates whether credentials were sent in unencrypted form over the network.
IWMSInternalAdminNetSource3::ShutdownProxyContext2

The ShutdownProxyContext2 method releases the internal resources used by IWMSInternalAdminNetSource3::FindProxyForURLEx2. To avoid memory leaks, you must call this method after you are finished making calls to FindProxyForURLEx2.

Requirements

Requirement Value
Target Platform Windows
Header wmsinternaladminnetsource.h

See also

IWMSInternalAdminNetSource Interface

IWMSInternalAdminNetSource2 Interface

Interfaces