Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/libraries/System.Net.Mail/ref/System.Net.Mail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,14 @@ public static partial class Text
public const string Rtf = "text/rtf";
public const string Xml = "text/xml";
}
public static partial class Video
{
public const string Mp4 = "video/mp4";
public const string Mpeg = "video/mpeg";
public const string Ogg = "video/ogg";
public const string QuickTime = "video/quicktime";
public const string WebM = "video/webm";
Comment thread
ManickaP marked this conversation as resolved.
}
}
public static partial class MediaTypeMap
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,24 @@ public static class Text
/// <summary>Specifies that the <see cref="MediaTypeNames.Text"/> data is in XML format.</summary>
public const string Xml = "text/xml";
}

/// <summary>Specifies the kind of video data in an email message attachment.</summary>
public static class Video
{
/// <summary>Specifies that the <see cref="MediaTypeNames.Video"/> data is in MP4 format.</summary>
public const string Mp4 = "video/mp4";

/// <summary>Specifies that the <see cref="MediaTypeNames.Video"/> data is in MPEG format.</summary>
public const string Mpeg = "video/mpeg";

/// <summary>Specifies that the <see cref="MediaTypeNames.Video"/> data is in Ogg format.</summary>
public const string Ogg = "video/ogg";

/// <summary>Specifies that the <see cref="MediaTypeNames.Video"/> data is in QuickTime format.</summary>
public const string QuickTime = "video/quicktime";

/// <summary>Specifies that the <see cref="MediaTypeNames.Video"/> data is in WebM format.</summary>
public const string WebM = "video/webm";
Comment thread
ManickaP marked this conversation as resolved.
}
}
}
Loading