Show / Hide Table of Contents

SlotAccessCode Constructor

SlotAccessCode()

Constructs a SlotAccessCode instance with an empty (all zeros) code.

C#
public SlotAccessCode()

SlotAccessCode(ReadOnlyMemory<byte>)

Constructs a SlotAccessCode instance using the bytes in the collection.

C#
public SlotAccessCode(ReadOnlyMemory<byte> bytes)

Parameters

Type Name Description
ReadOnlyMemory<byte> bytes

The bytes to use to construct the SlotAccessCode.

Exceptions

Type Condition
ArgumentException

Thrown if the length exceeds MaxAccessCodeLength

In this article
Back to top Generated by DocFX