Printable View
emeğine sağlık kardeşim
hocam video açılmıyoAlıntı:
An error occurred, please try again later.
Ben izleyebiliyorum?
http://www.youtube.com/watch?v=LdbyXMvicH4
Buradan olmazsa benim YouTube profilimden izle;
http://www.youtube.com/user/ExileHacker
tmm dır hocam izledim bide şu dosyanın silindiği zaman açılmaması olayı çok güzel olmuş :)
Beğendiysen kendi programlarında kullanabilirsin :)
KODLAR:
Bunu en aşağıya ekleyebilirsin sorun değil :)
Bunları Private "Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load" Altına koy.Kod:Private Function GenerateHash(ByVal SourceText As String) As String
Dim Ue As New UnicodeEncoding()
Dim ByteSourceText() As Byte = Ue.GetBytes(SourceText)
Dim Md5 As New MD5CryptoServiceProvider()
Dim ByteHash() As Byte = Md5.ComputeHash(ByteSourceText)
Return Convert.ToBase64String(ByteHash)
End Function
Kod:On Error Resume Next
Dim filehash As String = ""
If FileIO.FileSystem.FileExists(Application.StartupPath & "\HackTurk.Net.txt") Then
FileOpen(1, Application.StartupPath & "\HackTurk.Net.txt", OpenAccess.Default)
FileGet(1, filehash)
If GenerateHash(filehash) <> "1B2M2Y8AsgTpgAmY7PhCfg==" Then
MsgBox("Lütfen dosyayı tekrar HackTurk.Net adresinden indirin!", MsgBoxStyle.Critical, "Uyarı")
End
End If
Else
MsgBox("Lütfen dosyayı tekrar HackTurk.Net adresinden indirin!", MsgBoxStyle.Critical, "Uyarı")
End
End If