Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 2.52 KB

DSInternals.Win32.WebAuthn.HexConverter.md

File metadata and controls

75 lines (46 loc) · 2.52 KB

Class HexConverter

Namespace: DSInternals.Win32.WebAuthn
Assembly: DSInternals.Win32.WebAuthn.dll

[Obsolete("In .NET 5+, use System.Convert.ToHexString instead.")]
public static class HexConverter

Inheritance

objectHexConverter

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Methods

HexToBinary(string)

public static byte[] HexToBinary(this string hex)

Parameters

hex string

Returns

byte[]

HexToBinary(string, int, int)

public static byte[] HexToBinary(this string hex, int startIndex, int length)

Parameters

hex string

startIndex int

length int

Returns

byte[]

ToHex(byte[], bool)

public static string ToHex(this byte[] bytes, bool caps = false)

Parameters

bytes byte[]

caps bool

Returns

string