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
Id()
public ObjectId Id()
Returns
Name()
public Name Name()
Returns
NameStr()
public string NameStr()
Returns
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
Equals(NameRegistration)
public bool Equals(NameRegistration? other)
Parameters
other NameRegistration?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?