Show / Hide Table of Contents

Class Device

Inheritance
Object
BasePdu<Device>
Device
Implements
IEquatable<Device>
Inherited Members
BasePdu<Device>.ToJsonForMds()
BasePdu<Device>.ToJsonForLocalStorage()
BasePdu<Device>.Equals(Device)
BasePdu<Device>.Equals(Object)
BasePdu<Device>.GetHashCode()
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: PKWARE.Smartcrypt.Protocol
Assembly: SmartcryptProtocol.dll
Syntax
public sealed class Device : BasePdu<Device>, IEquatable<Device>

Constructors

Device(Device)

Declaration
public Device([NotNull] Device other)
Parameters
Type Name Description
Device other

Fields

record

Declaration
[NotNull]
public readonly Device.Record record
Field Value
Type Description
Device.Record

Properties

allow_access

Declaration
public bool allow_access { get; set; }
Property Value
Type Description
Boolean

app_name

Declaration
[CanBeNull]
public string app_name { get; set; }
Property Value
Type Description
String

app_version

Declaration
[CanBeNull]
public string app_version { get; set; }
Property Value
Type Description
String

appComplianceEtag

Indicates the last ETag that a TDE agent completed a sync for.

Declaration
public int appComplianceEtag { get; set; }
Property Value
Type Description
Int32

created_at

Declaration
[CanBeNull]
public string created_at { get; set; }
Property Value
Type Description
String

id

Declaration
public long id { get; set; }
Property Value
Type Description
Int64

ownerid

Declaration
public long ownerid { get; set; }
Property Value
Type Description
Int64

recovery_code

The AES key with which the user's password is encrypted. Used for password recovery in conjunction with the recovery_cipher. This property is sent to the server but must not be saved on the client. Device records retrieved from the server will not have this property populated.

Declaration
[CanBeNull]
public string recovery_code { get; set; }
Property Value
Type Description
String

signature

Declaration
[CanBeNull]
public string signature { get; set; }
Property Value
Type Description
String

updated_at

Declaration
[CanBeNull]
public string updated_at { get; set; }
Property Value
Type Description
String

Methods

ToJson(Boolean)

Declaration
protected override string ToJson(bool sending)
Parameters
Type Name Description
Boolean sending
Returns
Type Description
String
Overrides
PKWARE.Smartcrypt.Protocol.BasePdu<PKWARE.Smartcrypt.Protocol.Device>.ToJson(System.Boolean)

Implements

System.IEquatable<T>
Back to top Copyright © 2018 PKWARE, Inc.