private bool IsMultiPartMime(string contentType, out string boundary) { boundary = MimeUtility.GetBoundary(contentType); return !string.IsNullOrEmpty(contentType) && contentType.StartsWith("multipart/related") && !string.IsNullOrEmpty(boundary); }
private bool IsMultiPartMime(string contentType, out string boundary) { boundary = MimeUtility.GetBoundary(contentType); return !string.IsNullOrEmpty(contentType) && contentType.StartsWith("multipart/related") && !string.IsNullOrEmpty(boundary); }