WMEncoderAgent.CreateEncoder
The CreateEncoder method creates an instance of a WMEncoder object.
Syntax
object WMEncoderAgent.CreateEncoder(
string bstrEncoderName,
object varEncoderProgId
);
Parameters
bstrEncoderName
[in] String containing the name of the new WMEncoder object.
varEncoderProgId
[in] Object containing the ProgID of the new WMEncoder object. This is an optional argument. If you do not specify a ProgID, the ProgID for the application is used. ProgIDs are strings in the form company.component[.version].
Return Values
This method returns a WMEncoderApp object.
Remarks
To administer encoding applications remotely, you must add the Windows Media Encoder Agent reference to the project. For more information, see Programming in C#.
Requirements
Reference: Windows Media EncoderAgent
Namespace: WMEncAgtLib
Assembly: Interop.WMEncAgtLib.dll.dll
Library: wmencagt.exe
See Also