Interface IMediaProtectionService
Defines interface for service allowing the protection of URLs with resize-able media content.
public interface IMediaProtectionService
- Extension Methods
Methods
GetProtectedUrl(string)
Protects the given URL against unwanted resizing with hash. URL must be pointing to Kentico endpoint for serving media files.
string GetProtectedUrl(string urlToProtect)
Parameters
urlToProtect
stringURL to protect. Can be both absolute and relative.
Returns
- string