AlpacaToolsGetMetadataVersion Method
Alpaca Extension - Returns the metadata version in use within the byte array presentation of an image array.
Namespace: ASCOM.Common.AlpacaAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
public static int GetMetadataVersion(
this byte[] imageBytes
)
<ExtensionAttribute>
Public Shared Function GetMetadataVersion (
imageBytes As Byte()
) As Integer
- imageBytes Byte
- Source byte array.
Int32Integer metadata version number.In Visual Basic and C#, you can call this method as an instance method on any object of type
Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10