You are here:

VB.NET/Write on disk sector


Is it possible to write data on disk sector out of the file system
to avoid deletion.

Thanks in advance

Hi Shay,

I don't think in VB.NET managed API. You will have to look for unmanaged API (like C++ or similar and check the Win32 API library).

On the flip side you can maybe do it some other way what you are trying to achieve. Example: Get the unique motherboard Id then store it via a webservice(activation) of sorts in the Cloud or similar (See Windows Azure Storage >>

Another trick is store your information in multiple places (like disk, then registry hive user key). Use a tool like www.advancedinstaller to create your own installer (create your own windows user account). Then change the permissions on the folder containing the data only to your windows user account. None of the other users would have access to that folder (other than administrators)

Hope this helps! If you explain what type of data you are trying to have user restrict to then I can even suggest more options.



All Answers

Answers by Expert:

Ask Experts


Anup Mistry


WILL ANSWER: .NET Framework, WinForms, Windows Mobile, XML, SQL Server, T-SQL, Database related, Databinding, collections, Grid, DevExpress Framework, Web based, HTTP, IIS, ASP.NET anything web-related


Been software developer for 10+ years. Worked on various large business applications (Warehousing + Distribution, Financial, Healthcare). Worked on Mobile development (Proof of Delivery, Consumer based Infotainment application, Web based apps). Never stopped programming all these years. Worked on embedded, small, medium and large scale databases. Even in leisure time am reading computer related magazines. Have been a visiting professor at educational institutes teaching corporate and college students alike. Held Systems Analyst, Technical R&D member positions as well.

Speaker at Planet PDA on topic “Developing Apps for the Pocket PC” Seminar at Fairleigh Dickinson University, NJ on topic “Wireless LAN and Wireless Software applications”

Bachelors Degree in Engineering Electronics and Telecommunications Mobile Cellular Systems Satellite Communications

Awards and Honors
Brainbench certifications: (Microsoft.NET, Java 1, Oracle, Network Technical National Center for Software Technology: D-Level (software engineering exam)

©2017 All rights reserved.