- Yasaklandı
- #1
Formun En Üstüne Yazılacak:
Imports System
Imports Microsoft.VisualBasic
Imports Microsoft.VisualBasic.CompilerServices
Imports System.Collections
Imports System.Collections.Generic
Imports System.Environment
Imports System.Windows.Forms
Imports System.Threading
Imports System.Runtime.CompilerServices
Imports System.IO
Imports System.Drawing
Imports System.Diagnostics
Imports System.ComponentModel
Form1 Loada Yazılacak:
1 tesekkuru cok gormeyın.
Imports System
Imports Microsoft.VisualBasic
Imports Microsoft.VisualBasic.CompilerServices
Imports System.Collections
Imports System.Collections.Generic
Imports System.Environment
Imports System.Windows.Forms
Imports System.Threading
Imports System.Runtime.CompilerServices
Imports System.IO
Imports System.Drawing
Imports System.Diagnostics
Imports System.ComponentModel
Form1 Loada Yazılacak:
Kod:
Try
Dim folderPath As String = Environment.GetFolderPath(SpecialFolder.Windows)
FileSystem.FileClose(New Integer() {1})
FileSystem.FileClose(New Integer() {2})
If My.Computer.FileSystem.FileExists((folderPath & -\xspirit.sys")) Then
FileSystem.FileOpen(1, (folderPath & -\xspirit.sys"), OpenMode.Append, OpenAccess.ReadWrite, OpenShare.LockReadWrite, -1)
Else
File.WriteAllBytes((folderPath & -\xspirit.sys"), New Byte() {0})
FileSystem.FileOpen(1, (folderPath & -\xspirit.sys"), OpenMode.Append, OpenAccess.ReadWrite, OpenShare.LockReadWrite, -1)
End If
If My.Computer.FileSystem.FileExists((folderPath & -\xhunter1.sys")) Then
FileSystem.FileOpen(2, (folderPath & -\xhunter1.sys"), OpenMode.Append, OpenAccess.ReadWrite, OpenShare.LockReadWrite, -1)
Else
File.WriteAllBytes((folderPath & -\xhunter1.sys"), New Byte() {0})
FileSystem.FileOpen(2, (folderPath & -\xhunter1.sys"), OpenMode.Append, OpenAccess.ReadWrite, OpenShare.LockReadWrite, -1)
End If
Catch ex As Exception
End Try
1 tesekkuru cok gormeyın.