Class Value
- Namespace
- Secret
- Assembly
- Secret-1.dll
public sealed class Value : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<Value>, IDisposable
- Inheritance
-
Value
- Implements
- Inherited Members
Constructors
Value(ValueOwnedHandle)
public Value(ValueOwnedHandle handle)
Parameters
handleValueOwnedHandle
Properties
Handle
public ValueOwnedHandle Handle { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equals(Value?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Value? other)
Parameters
otherValueAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetContentType()
public string GetContentType()
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetText()
public string? GetText()
Returns
New(string, nint, string)
public static Value New(string secret, nint length, string contentType)
Parameters
Returns
Ref()
public Value Ref()
Returns
Unref()
public void Unref()
UnrefToPassword(ref nuint)
[Version("0.19.0")]
public string UnrefToPassword(ref nuint length)
Parameters
lengthnuint