The LicenseAcquisitionURL property specifies and retrieves the URL where licenses are issued by the license provider.
IWMDRMProfile.LicenseAcquisitionURL = String String = IWMDRMProfile.LicenseAcquisitionURL
This property takes no parameters.
A String containing the license acquisition URL.
The license acquisition URL points to the Web page on the license provider's site from which licenses are issued.
' 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"
Reference: Windows Media Encoder