Datalogic .NET SDK

GetFlashFileRoot (Method)

 

Syntax

 

   public static string GetFlashFileRoot();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Returns the terminal's flash disk drive name.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

-

-

 

 

 

 

[returns]

string

 

 

A pointer to a buffer that will receive the Flash Drive file system name. The string returned will be null terminated.

[on error]

-

 

-

 

 

Example

 

private void SetUnitDisplay()

{

       lstUnitView.Items.Add(new ListViewItem(new string[]

                    { "Flash Drive", Device.GetFlashFileRoot().ToString() }));

}

 

 

 

Remarks

If you have difficulty executing this method on your unit try deleting the persistent registry and cold booting our unit.

 

 

See Also

Device.DLVersionInfo (Sub-Class), Device.VersionIndex (Enum),  Example #022.

 

Copyright © Datalogic ADC. All Right Reserved