[SerializableAttribute]
[XmlRootAttribute("FileSignature")]
public sealed class FileSignature
<SerializableAttribute>
<XmlRootAttribute("FileSignature")>
Public NotInheritable Class FileSignature
Dim instance As FileSignature
[SerializableAttribute]
[XmlRootAttribute(L"FileSignature")]
public ref class FileSignature sealed
[<SealedAttribute>]
[<SerializableAttribute>]
[<XmlRootAttribute("FileSignature")>]
type FileSignature = class end
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
Dim sig As New FileSignature({26, 69, 223, 163}, offset:=0, description:="Matroska (mkv) - Magic Number")
Dim sb As New Global.System.Text.StringBuilder()
With sb
.AppendLine(String.Format("Desc.: {0}", sig.Description))
.AppendLine(String.Format("Hex. : {0}", sig.Hex))
.AppendLine(String.Format("ASCII: {0}", sig.ASCII))
End With
Console.WriteLine(sb.ToString())
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
FileSignature | Initializes a new instance of the FileSignature class. |
FileSignature(NullableByte, Int32) | Initializes a new instance of the FileSignature class. |
FileSignature(NullableByte, Int32, String) | Initializes a new instance of the FileSignature class. |
ASCII | Gets the ASCII representation of the signature. |
Description | Gets or sets the description for this signature. |
Hex | Gets the Hexadecimal representation of the signature. |
Offset | Gets or sets the offset position of the signature. |
Signature | Gets or sets the signature. |
Equals(FileSignature) | Determines whether the specified FileSignature is equal to this instance. |
Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object)) |
GetHashCode |
(Overrides ObjectGetHashCode) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString) |
Equality(FileSignature, FileSignature) | Implements the operator = |
Inequality(FileSignature, FileSignature) | Implements the operator <> |
CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |