C# 클래스 DynamicEncryptionWithDRM.Program

파일 보기 프로젝트 열기: Azure-Samples/media-services-dotnet-dynamic-encryption-with-drm

공개 메소드들

메소드 설명
AddOpenAuthorizationPolicy ( IContentKey contentKey ) : void
AddTokenRestrictedAuthorizationPolicy ( IContentKey contentKey ) : string
CreateAssetDeliveryPolicy ( IAsset asset, IContentKey key ) : void
CreateCommonTypeContentKey ( IAsset asset ) : IContentKey
EncodeToAdaptiveBitrateMP4Set ( IAsset inputAsset ) : IAsset
GetStreamingOriginLocator ( IAsset asset ) : string

Gets the streaming origin locator.

UploadFileAndCreateAsset ( string singleFilePath ) : IAsset

비공개 메소드들

메소드 설명
ConfigurePlayReadyLicenseTemplate ( ) : string
ConfigureWidevineLicenseTemplate ( ) : string
GenerateTokenRequirements ( ) : string
GetRandomBuffer ( int length ) : byte[]
JobStateChanged ( object sender, JobStateChangedEventArgs e ) : void
Main ( string args ) : void

메소드 상세

AddOpenAuthorizationPolicy() 공개 정적인 메소드

public static AddOpenAuthorizationPolicy ( IContentKey contentKey ) : void
contentKey IContentKey
리턴 void

AddTokenRestrictedAuthorizationPolicy() 공개 정적인 메소드

public static AddTokenRestrictedAuthorizationPolicy ( IContentKey contentKey ) : string
contentKey IContentKey
리턴 string

CreateAssetDeliveryPolicy() 공개 정적인 메소드

public static CreateAssetDeliveryPolicy ( IAsset asset, IContentKey key ) : void
asset IAsset
key IContentKey
리턴 void

CreateCommonTypeContentKey() 공개 정적인 메소드

public static CreateCommonTypeContentKey ( IAsset asset ) : IContentKey
asset IAsset
리턴 IContentKey

EncodeToAdaptiveBitrateMP4Set() 공개 정적인 메소드

public static EncodeToAdaptiveBitrateMP4Set ( IAsset inputAsset ) : IAsset
inputAsset IAsset
리턴 IAsset

GetStreamingOriginLocator() 공개 정적인 메소드

Gets the streaming origin locator.
public static GetStreamingOriginLocator ( IAsset asset ) : string
asset IAsset
리턴 string

UploadFileAndCreateAsset() 공개 정적인 메소드

public static UploadFileAndCreateAsset ( string singleFilePath ) : IAsset
singleFilePath string
리턴 IAsset