CryptoSys PKI Pro Manual

Pem.FileToBinFile Method

Convert the contents of a PEM file into a binary file.

Syntax

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

Parameters

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

Return Value

Int32
Zero if successful; otherwise it returns an error code

See Also

VB6/C equivalent: PEM_FileToBinFile

[Contents] [Index]

[PREV: Pem.FileFromBinFile Method...]   [Contents]   [Index]   
   [NEXT: Pfx.MakeFile Method...]

Copyright © 2004-26 D.I. Management Services Pty Ltd t/a CryptoSys. All rights reserved. Generated 2026-09-21T05:59:39Z.