Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
AnswerRe: app.Exe.Config Location for Windows 7 & 10 Pin
Dave Kreskowiak12-Jul-16 16:25
mveDave Kreskowiak12-Jul-16 16:25 
GeneralRe: app.Exe.Config Location for Windows 7 & 10 Pin
Chuck Salerno14-Jul-16 3:43
Chuck Salerno14-Jul-16 3:43 
GeneralRe: app.Exe.Config Location for Windows 7 & 10 Pin
Dave Kreskowiak14-Jul-16 3:56
mveDave Kreskowiak14-Jul-16 3:56 
QuestionHow can I get the index of immediate before special characters of a word in c# Pin
rohit kakria12-Jul-16 7:04
rohit kakria12-Jul-16 7:04 
AnswerRe: How can I get the index of immediate before special characters of a word in c# Pin
Richard Deeming12-Jul-16 7:13
mveRichard Deeming12-Jul-16 7:13 
GeneralRe: How can I get the index of immediate before special characters of a word in c# Pin
rohit kakria12-Jul-16 20:56
rohit kakria12-Jul-16 20:56 
GeneralRe: How can I get the index of immediate before special characters of a word in c# Pin
Richard MacCutchan12-Jul-16 21:23
mveRichard MacCutchan12-Jul-16 21:23 
Questionneed to recover password from this code Pin
Member 1155787712-Jul-16 4:27
Member 1155787712-Jul-16 4:27 
Imports System
Imports System.IO
Imports System.Security.Cryptography
Imports System.Text

Friend Module #=qnhMLJurfpCWeGTTrMp3zBjm4bT7W4Gu70ST3HDDMUvo=
Friend Function #=q_ppzL1ZMYuGAEacS2FNOow==(ByVal u0023u003dqoh0ULu0024aAZVl6oonbDD8nVQu003du003d As String, ByVal u0023u003dqUG3UZJJnuLYlguu0024yNB5nSAu003du003d As String) As String
Dim numArray As Byte() = Nothing
Dim numArray1 As Byte() = Nothing
Dim passwordDeriveByte As PasswordDeriveBytes = Nothing
If (u0023u003dqoh0ULu0024aAZVl6oonbDD8nVQu003du003d.Length = 0) Then
Return ""
End If
Dim bytes As Byte() = Encoding.ASCII.GetBytes("GhqBYxD5sW1Hvh7r")
If (4 <> 0) Then
numArray = bytes
Else
End If
Dim numArray2 As Byte() = Convert.FromBase64String(u0023u003dqoh0ULu0024aAZVl6oonbDD8nVQu003du003d)
If (0 = 0) Then
numArray1 = numArray2
Else
End If
Dim passwordDeriveByte1 As PasswordDeriveBytes = New PasswordDeriveBytes(u0023u003dqUG3UZJJnuLYlguu0024yNB5nSAu003du003d, Nothing)
If (0 = 0) Then
passwordDeriveByte = passwordDeriveByte1
Else
End If
Dim bytes1 As Byte() = passwordDeriveByte.GetBytes(32)
Dim rijndaelManaged As System.Security.Cryptography.RijndaelManaged = New System.Security.Cryptography.RijndaelManaged() With
{
.Mode = CipherMode.CBC
}
Dim cryptoTransform As ICryptoTransform = rijndaelManaged.CreateDecryptor(bytes1, numArray)
Dim memoryStream As System.IO.MemoryStream = New System.IO.MemoryStream(numArray1)
Dim cryptoStream As System.Security.Cryptography.CryptoStream = New System.Security.Cryptography.CryptoStream(memoryStream, cryptoTransform, CryptoStreamMode.Read)
Dim numArray3(CInt(numArray1.Length) - 1) As Byte
Dim num As Integer = cryptoStream.Read(numArray3, 0, CInt(numArray3.Length))
memoryStream.Close()
cryptoStream.Close()
Return Encoding.UTF8.GetString(numArray3, 0, num)
End Function

Friend Function #=q6As9fqtPs9VXgnilv68uIQ==(ByVal u0023u003dqV7rw1c8rt3L9lxbG3YKFwwu003du003d As String, ByVal u0023u003dqHHfPvwyiLsPiMz1KklCg8wu003du003d As String) As String
Dim numArray As Byte() = Nothing
Dim numArray1 As Byte() = Nothing
Dim passwordDeriveByte As PasswordDeriveBytes = Nothing
If (u0023u003dqV7rw1c8rt3L9lxbG3YKFwwu003du003d.Length = 0) Then
Return ""
End If
Dim bytes As Byte() = Encoding.UTF8.GetBytes("GhqBYxD5sW1Hvh7r")
If (1 <> 0) Then
numArray = bytes
Else
End If
Dim bytes1 As Byte() = Encoding.UTF8.GetBytes(u0023u003dqV7rw1c8rt3L9lxbG3YKFwwu003du003d)
If (0 = 0) Then
numArray1 = bytes1
Else
End If
Dim passwordDeriveByte1 As PasswordDeriveBytes = New PasswordDeriveBytes(u0023u003dqHHfPvwyiLsPiMz1KklCg8wu003du003d, Nothing)
If (0 = 0) Then
passwordDeriveByte = passwordDeriveByte1
Else
End If
Dim bytes2 As Byte() = passwordDeriveByte.GetBytes(32)
Dim rijndaelManaged As System.Security.Cryptography.RijndaelManaged = New System.Security.Cryptography.RijndaelManaged() With
{
.Mode = CipherMode.CBC
}
Dim cryptoTransform As ICryptoTransform = rijndaelManaged.CreateEncryptor(bytes2, numArray)
Dim memoryStream As System.IO.MemoryStream = New System.IO.MemoryStream()
Dim cryptoStream As System.Security.Cryptography.CryptoStream = New System.Security.Cryptography.CryptoStream(memoryStream, cryptoTransform, CryptoStreamMode.Write)
cryptoStream.Write(numArray1, 0, CInt(numArray1.Length))
cryptoStream.FlushFinalBlock()
Dim array As Byte() = memoryStream.ToArray()
memoryStream.Close()
cryptoStream.Close()
Return Convert.ToBase64String(array)
End Function
End Module
AnswerRe: need to recover password from this code Pin
Eddy Vluggen12-Jul-16 4:44
professionalEddy Vluggen12-Jul-16 4:44 
AnswerRe: need to recover password from this code Pin
Dave Kreskowiak12-Jul-16 5:17
mveDave Kreskowiak12-Jul-16 5:17 
AnswerRe: need to recover password from this code Pin
Patrice T12-Jul-16 8:43
mvePatrice T12-Jul-16 8:43 
AnswerRe: need to recover password from this code Pin
Gerry Schmitz12-Jul-16 11:48
mveGerry Schmitz12-Jul-16 11:48 
QuestionThe type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 2:47
Member 1224497212-Jul-16 2:47 
AnswerRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 2:53
professionalEddy Vluggen12-Jul-16 2:53 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 3:12
Member 1224497212-Jul-16 3:12 
QuestionRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 3:32
professionalEddy Vluggen12-Jul-16 3:32 
AnswerRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 3:45
Member 1224497212-Jul-16 3:45 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 3:56
professionalEddy Vluggen12-Jul-16 3:56 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Pete O'Hanlon12-Jul-16 4:00
mvePete O'Hanlon12-Jul-16 4:00 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 3:40
mveDave Kreskowiak12-Jul-16 3:40 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 4:12
Member 1224497212-Jul-16 4:12 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 4:15
mveDave Kreskowiak12-Jul-16 4:15 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Member 1224497212-Jul-16 4:21
Member 1224497212-Jul-16 4:21 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Eddy Vluggen12-Jul-16 4:37
professionalEddy Vluggen12-Jul-16 4:37 
GeneralRe: The type or namespace name 'Form' could not be found (are you missing a using directive or an assembly reference?) Pin
Dave Kreskowiak12-Jul-16 5:15
mveDave Kreskowiak12-Jul-16 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.