CryptoSys PKI Pro Manual

Smime.Query Method

Query an S/MIME entity for selected information.

Syntax

[C#]
public static string Query(
	string inputFile,
	string query
)
[VB.NET]
Public Shared Function Query ( _
	inputFile As String, _
	query As String _
) As String

Parameters

inputFile
Name of file containing S/MIME entity
query
Query string (case insensitive)

Return Value

String containing the result or an empty string if not found or error.

Remarks

Valid queries are:

"content-type" Value of Content-Type, e.g. "application/pkcs7-mime".
"smime-type" Value of smime-type parameter of Content-Type, e.g. , e.g. "enveloped-data".
"encoding" Value of Content-Transfer-Encoding, e.g. "base64".
"name" Value of name parameter of Content-Type, e.g. "smime.p7m"
"filename" Value of filename parameter of Content-Disposition, e.g. "smime.p7m".

See Also

VB6/C equivalent: SMIME_Query

[Contents] [Index]

[PREV: Smime.Extract Method...]   [Contents]   [Index]   
   [NEXT: Smime.Wrap Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.