次の方法で共有


IWMSInternalAdminNetSource2 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 IWMSInternalAdminNetSource2 interface provides improved methods for password caching. These methods should be used in preference to their counterparts in IWMSInternalAdminNetSource because the older methods are vulnerable to spoofing and are therefore not secure.

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

Inheritance

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

Methods

The IWMSInternalAdminNetSource2 interface has these methods.

 
IWMSInternalAdminNetSource2::DeleteCredentialsEx

The DeleteCredentialsEx method removes a password from the cache.
IWMSInternalAdminNetSource2::GetCredentialsEx

The GetCredentialsEx method retrieves a cached password.
IWMSInternalAdminNetSource2::SetCredentialsEx

The SetCredentialsEx method adds a password to the cache.

Requirements

Requirement Value
Target Platform Windows
Header wmsinternaladminnetsource.h

See also

IWMSInternalAdminNetSource Interface

IWMSInternalAdminNetSource3 Interface

Interfaces