Class ParticipationPublicKey
A serializable class representing a participation key.
Inherited Members
Namespace: Algorand
Assembly: Algorand.dll
Syntax
[JsonConverter(typeof(ParticipationPublicKeyConverterJson))]
[MessagePackObject(false)]
[MessagePackFormatter(typeof(ParticipationPublicKeyFormatterMsgPack))]
public class ParticipationPublicKey
Constructors
| Edit this page View SourceParticipationPublicKey()
default values for serializer to ignore
Declaration
public ParticipationPublicKey()
ParticipationPublicKey(byte[])
Create a new participation key
Declaration
[JsonConstructor]
public ParticipationPublicKey(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | bytes | a length 32 byte array |
Properties
| Edit this page View SourceBytes
Declaration
[IgnoreMember]
public byte[] Bytes { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Methods
| Edit this page View SourceEquals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |