Share via


IAssetFile.Name Property

Optional. Friendly name for your IAssetFile. The default value is the filename you used during your file upload.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
ReadOnly Property Name As String 
    Get
'Usage
Dim instance As IAssetFile 
Dim value As String 

value = instance.Name
string Name { get; }
property String^ Name {
    String^ get ();
}
abstract Name : string
function get Name () : String

Property Value

Type: System.String

Remarks

Note

Media Services uses the value of the Name property when building URLs for the streaming content (for example, https://{WAMSAccount}.origin.mediaservices.windows.net/{GUID}/{IAssetFile.Name}/streamingParameters.) For this reason, percent-encoding is not allowed. The value of the Name property cannot have any of the following percent-encoding-reserved characters: !*'();:@&=+$,/?%#[]". Also, there can only be one ‘.’ for the file name extension.

See Also

Reference

IAssetFile Interface

Microsoft.WindowsAzure.MediaServices.Client Namespace