Generated by DocFX

Class DeviceNFT

NFT for description of common device which can be for example some electronic device

Inheritance
System.Object
CommonNFT
DeviceNFT
Implements
INFT
Inherited Members
CommonNFT.TypeText
CommonNFT.Type
CommonNFT.Name
CommonNFT.Author
CommonNFT.Description
CommonNFT.Text
CommonNFT.Link
CommonNFT.IconLink
CommonNFT.ImageLink
CommonNFT.ImageData
CommonNFT.Base64Data
CommonNFT.Preview
CommonNFT.PreviewData
CommonNFT.DataItems
CommonNFT.Tags
CommonNFT.TagsList
CommonNFT.Utxo
CommonNFT.UtxoIndex
CommonNFT.ShortHash
CommonNFT.NFTOriginTxId
CommonNFT.SourceTxId
CommonNFT.TokenId
CommonNFT.Price
CommonNFT.PriceActive
CommonNFT.DogePrice
CommonNFT.DogePriceActive
CommonNFT.DogeAddress
CommonNFT.SellJustCopy
CommonNFT.IsLoaded
CommonNFT.IsInThePayments
CommonNFT.DogeftInfo
CommonNFT.SoldInfo
CommonNFT.Time
CommonNFT.History
CommonNFT.TxDetails
CommonNFT.TxDataRefreshed
CommonNFT.IsSpendable()
CommonNFT.LoadHistory()
CommonNFT.FillCommon(INFT)
CommonNFT.ClearSoldInfo()
CommonNFT.ClearPrices()
CommonNFT.ParseTags()
CommonNFT.LoadLastData(IDictionary<String, String>)
CommonNFT.ParsePrice(IDictionary<String, String>)
CommonNFT.ParseSoldInfo(IDictionary<String, String>)
CommonNFT.ParseCommon(IDictionary<String, String>)
CommonNFT.ParseDogeftInfo(IDictionary<String, String>)
CommonNFT.GetCommonMetadata()
CommonNFT.DownloadPreviewData()
CommonNFT.DownloadImageData()
CommonNFT.DecryptImageData(BitcoinSecret, String, String, String)
CommonNFT.DecryptProperty(String, BitcoinSecret, String, String, String)
CommonNFT.StopRefreshingData()
CommonNFT.StartRefreshingTxData(Int32)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.NFT.DevicesNFTs
Assembly: VEDriversLite.dll
Syntax
public class DeviceNFT : CommonNFT, INFT

Constructors

| Improve this Doc View Source

DeviceNFT(String)

Create empty device

Declaration
public DeviceNFT(string utxo)
Parameters
Type Name Description
System.String utxo

Properties

| Improve this Doc View Source

FwSourceNFT

Loaded FW Source NFT

Declaration
[JsonIgnore]
public INFT FwSourceNFT { get; set; }
Property Value
Type Description
INFT
| Improve this Doc View Source

FWSrcNFTHash

FW source NFT. Should lead to source of the firmware

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

HwSourceNFT

Loaded HW Source NFT

Declaration
[JsonIgnore]
public INFT HwSourceNFT { get; set; }
Property Value
Type Description
INFT
| Improve this Doc View Source

HWSrcNFTHash

HW source NFT. Should lead to source of the hardware design

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

LoadedProtocolNFT

Loaded protocol NFT

Declaration
[JsonIgnore]
public INFT LoadedProtocolNFT { get; set; }
Property Value
Type Description
INFT
| Improve this Doc View Source

MAC

MAC address - will be moved to IoT device

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

MechSourceNFT

Loaded Mechanical Source NFT

Declaration
[JsonIgnore]
public INFT MechSourceNFT { get; set; }
Property Value
Type Description
INFT
| Improve this Doc View Source

MechSrcNFTHash

Mechanical source NFT. Should lead to source of the mechanical design

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

ProtocolNFTHash

Protocol NFT hash related to this device It should describe the communication with the device on public APIs

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

SwSourceNFT

Loaded SW Source NFT

Declaration
[JsonIgnore]
public INFT SwSourceNFT { get; set; }
Property Value
Type Description
INFT
| Improve this Doc View Source

SWSrcNFTHash

SW source NFT. Should lead to source of the software

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

UniqueId

Unique Id of the producet/device

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

Version

Version of the Device

Declaration
public string Version { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Fill(INFT)

Fill NFT with data from template

Declaration
public override async Task Fill(INFT NFT)
Parameters
Type Name Description
INFT NFT
Returns
Type Description
System.Threading.Tasks.Task
Overrides
CommonNFT.Fill(INFT)
| Improve this Doc View Source

GetLastData()

Get last data for this NFT

Declaration
public async Task GetLastData()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

GetMetadata(String, String, String)

Get metadata of this NFT

Declaration
public override async Task<IDictionary<string, string>> GetMetadata(string address = "", string key = "", string receiver = "")
Parameters
Type Name Description
System.String address
System.String key
System.String receiver
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<System.String, System.String>>
Overrides
CommonNFT.GetMetadata(String, String, String)
| Improve this Doc View Source

LoadSourceNFTs()

Load all source NFTs

Declaration
public async Task LoadSourceNFTs()
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)

Parse origin properties

Declaration
public override async Task ParseOriginData(IDictionary<string, string> lastmetadata, GetTransactionInfoResponse txinfo = null)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> lastmetadata
GetTransactionInfoResponse txinfo
Returns
Type Description
System.Threading.Tasks.Task
Overrides
CommonNFT.ParseOriginData(IDictionary<String, String>, GetTransactionInfoResponse)
| Improve this Doc View Source

ParseSpecific(IDictionary<String, String>)

Parse specific properties

Declaration
public override void ParseSpecific(IDictionary<string, string> metadata)
Parameters
Type Name Description
System.Collections.Generic.IDictionary<System.String, System.String> metadata
Overrides
CommonNFT.ParseSpecific(IDictionary<String, String>)

Implements

INFT