Click or drag to resize
MediaLibraryInfoProviderGetMediaLibraryInfo Method (String, String)

Note: This API is now obsolete.

Returns media library info specified by library name and site name.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IMediaLibraryInfoProvider.Get(string, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - MediaLibraryInfo.Provider.")]
public static MediaLibraryInfo GetMediaLibraryInfo(
	string libraryName,
	string siteName
)

Parameters

libraryName
Type: SystemString
Library name
siteName
Type: SystemString
Site name

Return Value

Type: MediaLibraryInfo
See Also