Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

KnownFolders.MediaServerDevices Property

Definition

Namespace:
Windows.Storage

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the folder of media server (Digital Living Network Alliance (DLNA)) devices.

public:
 static property StorageFolder ^ MediaServerDevices { StorageFolder ^ get(); };
static StorageFolder MediaServerDevices();
public static StorageFolder MediaServerDevices { get; }
var storageFolder = KnownFolders.mediaServerDevices;
Public Shared ReadOnly Property MediaServerDevices As StorageFolder

Property Value

The folder of media server (Digital Living Network Alliance (DLNA)) devices.

Remarks

Prerequisites

To access the media server devices folder, in the app manifest, specify at least one of the following capabilities: Pictures Library, Music Library, or Videos Library.

More info

In the media server devices folder, the app sees only the content that corresponds to the capabilities specified in the app's manifest. For example, an app that specifies only the Music Library capability sees only music content in the media server devices folder.

Some Digital Media Servers only support a single media restriction. These servers may incorrectly return 0 files for a query if you've specified two media library capabilities in the app manifest. If you've specified two media library capabilities - for example, Pictures Library and Videos Library - and a query returns 0 files, try changing the capabilities to specify either a single media library capability or all three media library capabilities. If you specify all 3 media library capabilities, no media restrictions are sent and this problem doesn't occur.

Applies to


Feedback

Was this page helpful?