Skip to main content

NameRegistration

Namespace: IotaSdk

An object to manage a second-level name (SLN).

public class NameRegistration : INameRegistration, System.IEquatable`1[[IotaSdk.NameRegistration, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance Object → NameRegistration
Implements INameRegistration, IEquatable<NameRegistration>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

NameRegistration(UInt64)​

public NameRegistration(ulong pointer)

Parameters​

pointer UInt64

NameRegistration(ObjectId, Name, String, UInt64)​

public NameRegistration(ObjectId id, Name name, string nameStr, ulong expirationTimestampMs)

Parameters​

id ObjectId

name Name

nameStr String

expirationTimestampMs UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

ExpirationTimestampMs()​

public ulong ExpirationTimestampMs()

Returns​

UInt64

Id()​

public ObjectId Id()

Returns​

ObjectId

Name()​

public Name Name()

Returns​

Name

NameStr()​

public string NameStr()

Returns​

String

ToDisplayString()​

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

public string ToDisplayString()

Returns​

String

Equals(NameRegistration)​

public bool Equals(NameRegistration? other)

Parameters​

other NameRegistration?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean