Xecrets.Slip39.Share.md

May 26, 2026 · View on GitHub

Xecrets.Slip39

Xecrets.Slip39

Share Class

A representation of a Shamir secret sharing share.

public class Share

Inheritance System.Object → Share

Properties

Share.Prefix Property

The SharePrefix meta data of the share.

public Xecrets.Slip39.SharePrefix Prefix { get; }

Property Value

SharePrefix

Methods

Share.Parse(string) Method

Parse a share string into a Share object.

public static Xecrets.Slip39.Share Parse(string stringValue);

Parameters

stringValue System.String

The string to parse.

Returns

Share
A Share object.

Exceptions

Slip39Exception

Share.ToString() Method

Returns a string that represents the current object.

public override string ToString();

Returns

System.String
A string that represents the current object.

Share.ToString(string) Method

Returns a string that represents the current object.

public string ToString(string format);

Parameters

format System.String

How the string should be formated. Empty and "G" produces a list of space separated mnemonic words. "64" produces an URL-safe base 64 representation. "X" produces a hex string.

Returns

System.String
The string representation.

Exceptions

System.FormatException