IWMDRMProfile.ProviderURL
![]() |
The ProviderURL property retrieves the URL to the license provider's Web site.
Syntax
String = IWMDRMProfile.ProviderURL
Parameters
This property takes no parameters.
Property Value
A String containing the URL to the license provider's Web site.
Remarks
The license provider URL is the location of the license provider's Web site. This URL should not be confused with the license acquisition URL, which is the site where licenses are acquired.
This property is read-only.
Example Code
' Create a WMEncoder object.
Dim Encoder As WMEncoder
Set Encoder = New WMEncoder
' Create an IWMDRMContentAuthor object.
Dim DRM As IWMDRMContentAuthor
Set DRM = Encoder.EncoderDRMContentAuthor
' Retrieve the collection of DRM profiles.
Dim DRMProColl As IWMDRMProfileCollection
Set DRMProColl = DRM.DRMProfileCollection
' Create an IWMDRMProfile object and retrieve a profile.
Dim DRMPro As IWMDRMProfile
Set DRMPro = DRMProColl.Item(1)
' Set the rest of the properties for the DRM profile.
DRMPro.Description = "Replace with a description of this DRM profile"
DRMPro.ProviderURL = "Replace with the license provider's URL"
DRMPro.LicenseAcquisitionURL = "Replace with v7 license acquisition URL"
DRMPro.Name = "Replace with a name for the DRM profile"
DRMPro.V1LicenseAcquisitionURL = "Replace with v1 license acquisition URL"
' Add the required individualization version as an attribute.
Dim ProAttr As IWMDRMAttributes
Set ProAttr = DRMPro.Attributes
ProAttr.Add "SECURITYVERSION", "2.2"
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also
.gif)