Show / Hide Table of Contents

Class UpdateFileParams

Input parameters describing how to update a network file.

Inheritance
Object
UpdateFileParams
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class UpdateFileParams

Properties

| Improve this Doc View Source

Contents

Replace the contents of the file with these new contents. Set to

null
to leave the existing content unchanged.
Declaration
public ReadOnlyMemory<byte>? Contents { get; set; }
Property Value
Type Description
Nullable<ReadOnlyMemory<Byte>>
| Improve this Doc View Source

Endorsements

A descriptor of the keys required to sign transactions editing and otherwise manipulating the contents of this file. Set to

null
to leave unchanged.
Declaration
public Endorsement[] Endorsements { get; set; }
Property Value
Type Description
Endorsement[]
| Improve this Doc View Source

File

The address of the network file to update.

Declaration
public Address File { get; set; }
Property Value
Type Description
Address
| Improve this Doc View Source

Memo

If not null, a new description of the file.

Declaration
public string Memo { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Signatory

Additional private key, keys or signing callback method required to replace the contents of this file. Typically matchs all the Endorsements in the Endorsement array associated with this file.

Declaration
public Signatory Signatory { get; set; }
Property Value
Type Description
Signatory
Remarks

Keys/callbacks added here will be combined with those already identified in the client object's context when signing this transaction to change the state of this account. They will not be asked to sign transactions to retrieve the record if the "WithRecord" form of the method call is made. The client will rely on the Signatory from the context to sign the transaction requesting the record.

  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph