Central, generic method to create files.

Namespace: CardWerk.SmartCard.CardModule.DESFire
Assembly: CardWerk.SmartCard.CardModule.DESFire (in CardWerk.SmartCard.CardModule.DESFire.dll)

Public Function CreateFile( _ 
ByVal fileNumber As Integer, _ 
ByVal ISOfileId As Integer, _ 
ByVal fileSettings As DESFireCardFileSettings
) As Boolean
This language is not supported or no code example is available.
public bool CreateFile( 
int fileNumber
int ISOfileId
DESFireCardFileSettings fileSettings 
)
This language is not supported or no code example is available.
public:  
bool CreateFile( 
int fileNumber
int ISOfileId
DESFireCardFileSettings^ fileSettings 
)
This language is not supported or no code example is available.
public function CreateFile( 
fileNumber : int
ISOfileId : int
fileSettings : DESFireCardFileSettings 
) : boolean;
This language is not supported or no code example is available.

Parameters

fileNumber
Type: int

0..15 used as reference within scope of selected application.

ISOfileId
Type: int

ISO FILE ID, > 0, requires ISO_SELECT enablement on application level, -1 if not used.

fileSettings
Type: DESFireCardFileSettings

refer to DESFireCardFileSettings.

Return Value

Type: bool

True if it succeeds, false if it fails.

This method requires prior authentication under the appropriate application admin key

.NET Framework

Supported in: 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

.NET Core

Supported in: 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0

.NET Standard

Supported in: 2.0