Show / Hide Table of Contents

Class FileSignatureHelper

Contains the logic needed to derive the file extension from a file's hex representation.

Inheritance
object
FileSignatureHelper
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Asset.Model.Document
Assembly: WMServer.dll
Syntax
public class FileSignatureHelper

Methods

GetFileSignature(string, byte[])

Returns the file's extension if supported, or null if not supported.

Declaration
public static string? GetFileSignature(string fileName, byte[] bytes)
Parameters
Type Name Description
string fileName

A file's filename

byte[] bytes

A file's byte[] representation.

Returns
Type Description
string
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 1/15/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE