Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMSAuthenticationPlugin.GetFlags (C#)
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 int 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 int GetFlags()
{
return Convert.ToInt32(
WMS_AUTHENTICATION_FLAGS.WMS_AUTHENTICATION_TEXT_CHALLENGE |
WMS_AUTHENTICATION_FLAGS.WMS_AUTHENTICATION_CLIENT_SHOWS_UI |
WMS_AUTHENTICATION_FLAGS.WMS_AUTHENTICATION_CHALLENGE_FIRST);
}
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 |