Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IInternetContent.cs
1namespace Waher.Content
2{
6 public interface IInternetContent
7 {
11 string[] ContentTypes
12 {
13 get;
14 }
15
20 {
21 get;
22 }
23
30 bool TryGetContentType(string FileExtension, out string ContentType);
31
38 bool TryGetFileExtension(string ContentType, out string FileExtension);
39 }
40}
Base interface for Internet content encoders or decoders.
bool TryGetContentType(string FileExtension, out string ContentType)
Tries to get the content type of an item, given its file extension.
string[] ContentTypes
Supported content types.
bool TryGetFileExtension(string ContentType, out string FileExtension)
Tries to get the file extension of an item, given its Content-Type.
string[] FileExtensions
Supported file extensions.