Export PGP Key
Namespace: com.asiapeak.ezpgpnetAssembly: ezpgpnet (in ezpgpnet.dll) Version: 1.0.0.0 (1.0.0.0)
public int ezKeyExport(
string keyName,
string fileName,
bool keyPair
)
public int ezKeyExport(
string keyName,
string fileName,
bool keyPair
)
Public Function ezKeyExport (
keyName As String,
fileName As String,
keyPair As Boolean
) As Integer
Public Function ezKeyExport (
keyName As String,
fileName As String,
keyPair As Boolean
) As Integer
public:
int ezKeyExport(
String^ keyName,
String^ fileName,
bool keyPair
)
public:
int ezKeyExport(
String^ keyName,
String^ fileName,
bool keyPair
)
Parameters
- keyName
- Type: System String
key name to be exported
- fileName
- Type: System String
output file name
- keyPair
- Type: System Boolean
true if export key pair, false if export public key only
Return Value
Type:
Int320 is success, others are failed