Share via


IWMSAuthenticationPlugin.GetFlags (Visual Basic .NET)

banner art

Previous Next

IWMSAuthenticationPlugin.GetFlags (Visual Basic .NET)

The GetFlags method retrieves any flags that identify the challenge and response mechanism used by the plug-in.

Syntax

  

Parameters

This method takes no parameters.

Return Values

This method returns an Int32 containing a member of the WMS_AUTHENTICATION_FLAGS enumeration type. This must be one of the following values.

Value Description
WMS_AUTHENTICATION_TEXT_CHALLENGE The challenge and response BLOB contains only text.
WMS_AUTHENTICATION_CLIENT_SHOWS_UI The client prompts the user for credentials.
WMS_AUTHENTICATION_ANONYMOUS Anonymous authentication does not retrieve credentials from the client.
WMS_AUTHENTICATION_CHALLENGE_FIRST The server initiates the authentication process and generates the challenge BLOB first.

Example Code

Public Function GetFlags() As Integer _
   Implements IWMSAuthenticationPlugin.GetFlags

   Return WMS_AUTHENTICATION_FLAGS.WMS_AUTHENTICATION_TEXT_CHALLENGE Or _
          WMS_AUTHENTICATION_FLAGS.WMS_AUTHENTICATION_CLIENT_SHOWS_UI Or _
          WMS_AUTHENTICATION_FLAGS.WMS_AUTHENTICATION_CHALLENGE_FIRST
End Function

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Previous Next