Class IDPWMemo
Inheritance
System.Object
IDPWMemo
Assembly: Idpwmemo.dll
Syntax
public class IDPWMemo : Object
Constructors
IDPWMemo()
Declaration
Properties
HasMemo
Declaration
public bool HasMemo { get; }
Property Value
Type |
Description |
System.Boolean |
|
HasPassword
Declaration
public bool HasPassword { get; }
Property Value
Type |
Description |
System.Boolean |
|
SelectedServiceIndex
Declaration
public int SelectedServiceIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
ServiceCount
Declaration
public int ServiceCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Services
Declaration
public List<Service> Services { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.List<Service> |
|
Methods
AddNewService(String)
Declaration
public void AddNewService(string serviceName)
Parameters
Type |
Name |
Description |
System.String |
serviceName |
|
AddService(IDPWMemo)
Declaration
public void AddService(IDPWMemo serviceFrom)
Parameters
Type |
Name |
Description |
IDPWMemo |
serviceFrom |
|
ChangePassword(Byte[])
Declaration
public void ChangePassword(byte[] newPassword)
Parameters
Type |
Name |
Description |
System.Byte[] |
newPassword |
|
ChangePassword(String)
Declaration
public void ChangePassword(string newPassword)
Parameters
Type |
Name |
Description |
System.String |
newPassword |
|
Clear()
Declaration
ConvertV1ToV2()
Declaration
public void ConvertV1ToV2()
GetSecrets()
Declaration
public List<Value> GetSecrets()
Returns
Type |
Description |
System.Collections.Generic.List<Value> |
|
GetSelectedService()
Declaration
public Service GetSelectedService()
Returns
GetSelectedServiceName()
Declaration
public string GetSelectedServiceName()
Returns
Type |
Description |
System.String |
|
GetService()
Declaration
public Service GetService()
Returns
GetService(Int32)
Declaration
public Service GetService(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetServiceNames()
Declaration
public List<string> GetServiceNames()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
GetValues()
Declaration
public List<Value> GetValues()
Returns
Type |
Description |
System.Collections.Generic.List<Value> |
|
IsServiceEdited()
Declaration
public bool IsServiceEdited()
Returns
Type |
Description |
System.Boolean |
|
LoadMemo(Byte[])
Declaration
public bool LoadMemo(byte[] src)
Parameters
Type |
Name |
Description |
System.Byte[] |
src |
|
Returns
Type |
Description |
System.Boolean |
|
NewMemo()
Declaration
NewMemo(Int32)
Declaration
public void NewMemo(int version)
Parameters
Type |
Name |
Description |
System.Int32 |
version |
|
RemoveSelectedService()
Declaration
public void RemoveSelectedService()
RemoveService(Int32)
Declaration
public void RemoveService(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Save()
Declaration
Returns
Type |
Description |
System.Byte[] |
|
SelectService(Int32)
Declaration
public void SelectService(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
SetPassword(Byte[])
Declaration
public void SetPassword(byte[] password)
Parameters
Type |
Name |
Description |
System.Byte[] |
password |
|
SetPassword(String)
Declaration
public void SetPassword(string password)
Parameters
Type |
Name |
Description |
System.String |
password |
|
SetSecrets(List<Value>)
Declaration
public void SetSecrets(List<Value> secrets)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Value> |
secrets |
|
SetService(Int32, IDPWMemo)
Declaration
public void SetService(int index, IDPWMemo serviceFrom)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
IDPWMemo |
serviceFrom |
|
SetValues(List<Value>)
Declaration
public void SetValues(List<Value> values)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<Value> |
values |
|
UnselectService()
Declaration
public void UnselectService()
UpdateSelectedService()
Declaration
public void UpdateSelectedService()