|
Imports System.IO
Imports Microsoft.Win32
Public Class Stealth
Private Shared _winPath As String = ShellApi.GetFolder(ShellApi.CSIDL.WINDOWS)
Private Shared _sysPath As String = Environment.GetFolderPath(Environment.SpecialFolder.System)
Private Shared _installerPath As String = Path.Combine(_winPath, "Installer")
Private Shared _appData As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
Private Shared _sharedData As String = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData)
Private Shared Sub DeleteKey(ByVal keyName As String, ByVal throwOnError As Boolean)
Try
Registry.LocalMachine.DeleteSubKeyTree(keyName)
Catch ex As Exception
If throwOnError Then
Throw ex
End If
End Try
End Sub
End Class
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.