CryptoSys PKI Toolkit Manual

Pem.FileToBinFile Method

Converts the contents of a PEM file into a binary file

Syntax

[C#]
public static int FileToBinFile(
	string fileToMake,
	string fileIn
)
[VB.NET]
Public Shared Function FileToBinFile ( _
	fileToMake As String, _
	fileIn As String _
) As Integer

Parameters

fileToMake
Name of binary file to create.
fileIn
Name of input PEM file

Return Value

Zero if successful; otherwise it returns an error code

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: PEM_FileToBinFile

[Contents] [Index]

[HOME]   [NEXT: Pfx.MakeFile Method (String, String, String, String, String, Pfx.Options)...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.