EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Drive Name does not display properly

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
#33362
Posted: 05/22/2015 04:44:02
by Alain  (Basic support level)
Joined: 04/22/2015
Posts: 14

the mounted drive name does not display properly. I renamed it in my program to "Test Drive", but when you open the File Explorer the drive name is still "Local Disk".
#33364
Posted: 05/22/2015 05:12:41
by Volodymyr Zinin (EldoS Corp.)

Thank you for interesting of our product. Is the problem reproducible with one of the CBFS samples (maybe with some modifications)? If so please specify how to do it.

Thanks.
#33365
Posted: 05/22/2015 05:20:13
by Alain  (Basic support level)
Joined: 04/22/2015
Posts: 14

I'm using the WebDAVdisk sample code. modified only the drive name.

using Windows 8.1 64-bit
#33367
Posted: 05/22/2015 06:04:32
by Volodymyr Zinin (EldoS Corp.)

Could you describe more detailed how to reproduce it? How do you rename the CBFS disk (volume)?

Thanks.
#33384
Posted: 05/25/2015 01:30:58
by Alain  (Basic support level)
Joined: 04/22/2015
Posts: 14

I used this code :

private string _volumeLabel = "Test Drive";
#33386
Posted: 05/25/2015 02:26:07
by Eugene Mayevski (EldoS Corp.)

How is this variable related to CBFS? Please explain a bit what you are doing.


Sincerely yours
Eugene Mayevski
#33390
Posted: 05/25/2015 03:02:39
by Alain  (Basic support level)
Joined: 04/22/2015
Posts: 14

Code
private void CbFsGetVolumeLabel(object sender, ref string VolumeLabel)
{
  VolumeLabel = _VolumeLabel;
  Log(LogEventType.Info, "CBFS OnGetVolumeLabel: " + VolumeLabel);
}


this is the code when changing the VolumeLabel.

I want the Drive Name to be "Test Drive" when I open the File Explorer but at first it is named "Local Drive" after refreshing it will change to "Test Drive"
#33391
Posted: 05/25/2015 03:35:56
by Volodymyr Zinin (EldoS Corp.)

I have tried to reproduce it, but without success. I tried with the C# Mapper sample from the latest build (5.1.158) by only modifying the CbFsGetVolumeLabel callback:
Code
private void CbFsGetVolumeLabel(object sender, ref string VolumeLabel)
{
    VolumeLabel = "Test Drive";
}

Then I built the app, ran it, and created a storage. The storage had the "Test Drive" label.

Could you specify in details how to reproduce the problem?

Thanks.
#33392
Posted: 05/25/2015 03:53:42
by Alain  (Basic support level)
Joined: 04/22/2015
Posts: 14

Are you mounting a WebDAV drive? when you open the File Explorer does it immediately show the "Test Drive"?
#33396
Posted: 05/25/2015 05:32:37
by Vsevolod Ievgiienko (EldoS Corp.)

Quote
Are you mounting a WebDAV drive? when you open the File Explorer does it immediately show the "Test Drive"?

Hello.

Yes it does except when you set drive type to "Network Drive". Please try to set VolumeLabel to "Test Drive" explicitly as Volodymyr wrote above and check if this solves the problem.
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 5480 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!