Eerste keer import

git-svn-id: https://svn.sdnsupport.nl:448/svn/UCS_New_KeyGenerator/trunk@2 fb98f456-852b-ae4b-87b5-d34767d02741
This commit is contained in:
ms
2014-06-16 08:08:55 +00:00
parent 8702b805aa
commit 607207d66c
32 changed files with 1272 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
</configuration>

370
KeyFileGenerator/Form1.Designer.vb generated Normal file
View File

@@ -0,0 +1,370 @@
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class KeyFileGenerator
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.ProcId_1 = New System.Windows.Forms.TextBox()
Me.ProcId_2 = New System.Windows.Forms.TextBox()
Me.ProcId_3 = New System.Windows.Forms.TextBox()
Me.ProcId_4 = New System.Windows.Forms.TextBox()
Me.Label1 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label3 = New System.Windows.Forms.Label()
Me.CreateKeyButton = New System.Windows.Forms.Button()
Me.KeyFileData = New System.Windows.Forms.RichTextBox()
Me.Label4 = New System.Windows.Forms.Label()
Me.ClientName = New System.Windows.Forms.TextBox()
Me.Option_UDP = New System.Windows.Forms.CheckBox()
Me.Option_Telnet = New System.Windows.Forms.CheckBox()
Me.Option_Video = New System.Windows.Forms.CheckBox()
Me.Option_C2000 = New System.Windows.Forms.CheckBox()
Me.RichTextBox1 = New System.Windows.Forms.RichTextBox()
Me.RichTextBox2Decrypt = New System.Windows.Forms.RichTextBox()
Me.DecryptButton = New System.Windows.Forms.Button()
Me.Option_voip = New System.Windows.Forms.CheckBox()
Me.Label5 = New System.Windows.Forms.Label()
Me.GroupBox1 = New System.Windows.Forms.GroupBox()
Me.GroupBox2 = New System.Windows.Forms.GroupBox()
Me.GroupBox3 = New System.Windows.Forms.GroupBox()
Me.GroupBox4 = New System.Windows.Forms.GroupBox()
Me.GroupBox5 = New System.Windows.Forms.GroupBox()
Me.DataToDecryptTextbox = New System.Windows.Forms.RichTextBox()
Me.GroupBox1.SuspendLayout()
Me.GroupBox2.SuspendLayout()
Me.GroupBox3.SuspendLayout()
Me.GroupBox4.SuspendLayout()
Me.GroupBox5.SuspendLayout()
Me.SuspendLayout()
'
'ProcId_1
'
Me.ProcId_1.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper
Me.ProcId_1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.ProcId_1.Location = New System.Drawing.Point(6, 36)
Me.ProcId_1.MaxLength = 4
Me.ProcId_1.Name = "ProcId_1"
Me.ProcId_1.Size = New System.Drawing.Size(70, 26)
Me.ProcId_1.TabIndex = 0
'
'ProcId_2
'
Me.ProcId_2.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper
Me.ProcId_2.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.ProcId_2.Location = New System.Drawing.Point(110, 36)
Me.ProcId_2.MaxLength = 4
Me.ProcId_2.Name = "ProcId_2"
Me.ProcId_2.Size = New System.Drawing.Size(70, 26)
Me.ProcId_2.TabIndex = 1
'
'ProcId_3
'
Me.ProcId_3.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper
Me.ProcId_3.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.ProcId_3.Location = New System.Drawing.Point(214, 36)
Me.ProcId_3.MaxLength = 4
Me.ProcId_3.Name = "ProcId_3"
Me.ProcId_3.Size = New System.Drawing.Size(70, 26)
Me.ProcId_3.TabIndex = 2
'
'ProcId_4
'
Me.ProcId_4.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper
Me.ProcId_4.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.ProcId_4.Location = New System.Drawing.Point(318, 36)
Me.ProcId_4.MaxLength = 4
Me.ProcId_4.Name = "ProcId_4"
Me.ProcId_4.Size = New System.Drawing.Size(70, 26)
Me.ProcId_4.TabIndex = 3
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label1.Location = New System.Drawing.Point(85, 37)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(16, 24)
Me.Label1.TabIndex = 1
Me.Label1.Text = "-"
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label2.Location = New System.Drawing.Point(189, 37)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(16, 24)
Me.Label2.TabIndex = 1
Me.Label2.Text = "-"
'
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label3.Location = New System.Drawing.Point(293, 37)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(16, 24)
Me.Label3.TabIndex = 1
Me.Label3.Text = "-"
'
'CreateKeyButton
'
Me.CreateKeyButton.Location = New System.Drawing.Point(174, 19)
Me.CreateKeyButton.Name = "CreateKeyButton"
Me.CreateKeyButton.Size = New System.Drawing.Size(188, 48)
Me.CreateKeyButton.TabIndex = 2
Me.CreateKeyButton.Text = "Maak registratie key data"
Me.CreateKeyButton.UseVisualStyleBackColor = True
'
'KeyFileData
'
Me.KeyFileData.Location = New System.Drawing.Point(6, 19)
Me.KeyFileData.Name = "KeyFileData"
Me.KeyFileData.Size = New System.Drawing.Size(529, 426)
Me.KeyFileData.TabIndex = 3
Me.KeyFileData.Text = ""
'
'Label4
'
Me.Label4.AutoSize = True
Me.Label4.Location = New System.Drawing.Point(17, 41)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(35, 13)
Me.Label4.TabIndex = 4
Me.Label4.Text = "Naam"
'
'ClientName
'
Me.ClientName.Location = New System.Drawing.Point(59, 37)
Me.ClientName.Name = "ClientName"
Me.ClientName.Size = New System.Drawing.Size(272, 20)
Me.ClientName.TabIndex = 5
'
'Option_UDP
'
Me.Option_UDP.AutoSize = True
Me.Option_UDP.Location = New System.Drawing.Point(59, 63)
Me.Option_UDP.Name = "Option_UDP"
Me.Option_UDP.Size = New System.Drawing.Size(49, 17)
Me.Option_UDP.TabIndex = 6
Me.Option_UDP.Text = "UDP"
Me.Option_UDP.UseVisualStyleBackColor = True
'
'Option_Telnet
'
Me.Option_Telnet.AutoSize = True
Me.Option_Telnet.Location = New System.Drawing.Point(59, 86)
Me.Option_Telnet.Name = "Option_Telnet"
Me.Option_Telnet.Size = New System.Drawing.Size(56, 17)
Me.Option_Telnet.TabIndex = 6
Me.Option_Telnet.Text = "Telnet"
Me.Option_Telnet.UseVisualStyleBackColor = True
'
'Option_Video
'
Me.Option_Video.AutoSize = True
Me.Option_Video.Location = New System.Drawing.Point(59, 109)
Me.Option_Video.Name = "Option_Video"
Me.Option_Video.Size = New System.Drawing.Size(53, 17)
Me.Option_Video.TabIndex = 6
Me.Option_Video.Text = "Video"
Me.Option_Video.UseVisualStyleBackColor = True
'
'Option_C2000
'
Me.Option_C2000.AutoSize = True
Me.Option_C2000.Location = New System.Drawing.Point(59, 132)
Me.Option_C2000.Name = "Option_C2000"
Me.Option_C2000.Size = New System.Drawing.Size(57, 17)
Me.Option_C2000.TabIndex = 6
Me.Option_C2000.Text = "C2000"
Me.Option_C2000.UseVisualStyleBackColor = True
'
'RichTextBox1
'
Me.RichTextBox1.Location = New System.Drawing.Point(6, 79)
Me.RichTextBox1.Name = "RichTextBox1"
Me.RichTextBox1.Size = New System.Drawing.Size(525, 673)
Me.RichTextBox1.TabIndex = 3
Me.RichTextBox1.Text = ""
'
'RichTextBox2Decrypt
'
Me.RichTextBox2Decrypt.Location = New System.Drawing.Point(6, 336)
Me.RichTextBox2Decrypt.Name = "RichTextBox2Decrypt"
Me.RichTextBox2Decrypt.Size = New System.Drawing.Size(452, 416)
Me.RichTextBox2Decrypt.TabIndex = 7
Me.RichTextBox2Decrypt.Text = ""
'
'DecryptButton
'
Me.DecryptButton.Location = New System.Drawing.Point(157, 307)
Me.DecryptButton.Name = "DecryptButton"
Me.DecryptButton.Size = New System.Drawing.Size(151, 23)
Me.DecryptButton.TabIndex = 8
Me.DecryptButton.Text = "Decrypt"
Me.DecryptButton.UseVisualStyleBackColor = True
'
'Option_voip
'
Me.Option_voip.AutoSize = True
Me.Option_voip.Location = New System.Drawing.Point(58, 155)
Me.Option_voip.Name = "Option_voip"
Me.Option_voip.Size = New System.Drawing.Size(51, 17)
Me.Option_voip.TabIndex = 6
Me.Option_voip.Text = "VOIP"
Me.Option_voip.UseVisualStyleBackColor = True
'
'Label5
'
Me.Label5.AutoSize = True
Me.Label5.Font = New System.Drawing.Font("Microsoft Sans Serif", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.Label5.Location = New System.Drawing.Point(10, 75)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(66, 24)
Me.Label5.TabIndex = 9
Me.Label5.Text = "Label5"
'
'GroupBox1
'
Me.GroupBox1.Controls.Add(Me.ClientName)
Me.GroupBox1.Controls.Add(Me.Label4)
Me.GroupBox1.Controls.Add(Me.Option_UDP)
Me.GroupBox1.Controls.Add(Me.Option_Telnet)
Me.GroupBox1.Controls.Add(Me.Option_Video)
Me.GroupBox1.Controls.Add(Me.Option_C2000)
Me.GroupBox1.Controls.Add(Me.Option_voip)
Me.GroupBox1.Location = New System.Drawing.Point(12, 133)
Me.GroupBox1.Name = "GroupBox1"
Me.GroupBox1.Size = New System.Drawing.Size(541, 181)
Me.GroupBox1.TabIndex = 11
Me.GroupBox1.TabStop = False
Me.GroupBox1.Text = "Registratie opties"
'
'GroupBox2
'
Me.GroupBox2.Controls.Add(Me.ProcId_1)
Me.GroupBox2.Controls.Add(Me.ProcId_2)
Me.GroupBox2.Controls.Add(Me.Label5)
Me.GroupBox2.Controls.Add(Me.ProcId_3)
Me.GroupBox2.Controls.Add(Me.ProcId_4)
Me.GroupBox2.Controls.Add(Me.Label1)
Me.GroupBox2.Controls.Add(Me.Label2)
Me.GroupBox2.Controls.Add(Me.Label3)
Me.GroupBox2.Location = New System.Drawing.Point(12, 12)
Me.GroupBox2.Name = "GroupBox2"
Me.GroupBox2.Size = New System.Drawing.Size(541, 115)
Me.GroupBox2.TabIndex = 12
Me.GroupBox2.TabStop = False
Me.GroupBox2.Text = "Activatie Key"
'
'GroupBox3
'
Me.GroupBox3.Controls.Add(Me.KeyFileData)
Me.GroupBox3.Location = New System.Drawing.Point(12, 320)
Me.GroupBox3.Name = "GroupBox3"
Me.GroupBox3.Size = New System.Drawing.Size(541, 451)
Me.GroupBox3.TabIndex = 13
Me.GroupBox3.TabStop = False
Me.GroupBox3.Text = "Keyfile XML"
'
'GroupBox4
'
Me.GroupBox4.Controls.Add(Me.CreateKeyButton)
Me.GroupBox4.Controls.Add(Me.RichTextBox1)
Me.GroupBox4.Location = New System.Drawing.Point(560, 13)
Me.GroupBox4.Name = "GroupBox4"
Me.GroupBox4.Size = New System.Drawing.Size(537, 758)
Me.GroupBox4.TabIndex = 14
Me.GroupBox4.TabStop = False
Me.GroupBox4.Text = "Registratie key data"
'
'GroupBox5
'
Me.GroupBox5.Controls.Add(Me.DataToDecryptTextbox)
Me.GroupBox5.Controls.Add(Me.DecryptButton)
Me.GroupBox5.Controls.Add(Me.RichTextBox2Decrypt)
Me.GroupBox5.Location = New System.Drawing.Point(1103, 13)
Me.GroupBox5.Name = "GroupBox5"
Me.GroupBox5.Size = New System.Drawing.Size(464, 758)
Me.GroupBox5.TabIndex = 15
Me.GroupBox5.TabStop = False
Me.GroupBox5.Text = "Decrypt key file"
'
'DataToDecryptTextbox
'
Me.DataToDecryptTextbox.Location = New System.Drawing.Point(6, 19)
Me.DataToDecryptTextbox.Name = "DataToDecryptTextbox"
Me.DataToDecryptTextbox.Size = New System.Drawing.Size(452, 282)
Me.DataToDecryptTextbox.TabIndex = 0
Me.DataToDecryptTextbox.Text = ""
'
'KeyFileGenerator
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(1579, 783)
Me.Controls.Add(Me.GroupBox5)
Me.Controls.Add(Me.GroupBox4)
Me.Controls.Add(Me.GroupBox3)
Me.Controls.Add(Me.GroupBox2)
Me.Controls.Add(Me.GroupBox1)
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
Me.Name = "KeyFileGenerator"
Me.Text = "Key File Generator"
Me.GroupBox1.ResumeLayout(False)
Me.GroupBox1.PerformLayout()
Me.GroupBox2.ResumeLayout(False)
Me.GroupBox2.PerformLayout()
Me.GroupBox3.ResumeLayout(False)
Me.GroupBox4.ResumeLayout(False)
Me.GroupBox5.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
Friend WithEvents ProcId_1 As System.Windows.Forms.TextBox
Friend WithEvents ProcId_2 As System.Windows.Forms.TextBox
Friend WithEvents ProcId_3 As System.Windows.Forms.TextBox
Friend WithEvents ProcId_4 As System.Windows.Forms.TextBox
Friend WithEvents Label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents CreateKeyButton As System.Windows.Forms.Button
Friend WithEvents KeyFileData As System.Windows.Forms.RichTextBox
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents ClientName As System.Windows.Forms.TextBox
Friend WithEvents Option_UDP As System.Windows.Forms.CheckBox
Friend WithEvents Option_Telnet As System.Windows.Forms.CheckBox
Friend WithEvents Option_Video As System.Windows.Forms.CheckBox
Friend WithEvents Option_C2000 As System.Windows.Forms.CheckBox
Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox
Friend WithEvents RichTextBox2Decrypt As System.Windows.Forms.RichTextBox
Friend WithEvents DecryptButton As System.Windows.Forms.Button
Friend WithEvents Option_voip As System.Windows.Forms.CheckBox
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
Friend WithEvents DataToDecryptTextbox As System.Windows.Forms.RichTextBox
End Class

120
KeyFileGenerator/Form1.resx Normal file
View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

190
KeyFileGenerator/Form1.vb Normal file
View File

@@ -0,0 +1,190 @@
Imports System.IO
Imports System.Security.Cryptography
Imports System.Text
Imports System.Xml
Public Class KeyFileGenerator
Dim ProcId As String
Private Sub KeyFileGenerator_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Label5.Text = String.Empty
CreateKeyButton.Enabled = False
DecryptButton.Enabled = False
ProcId_1.Focus()
End Sub
Private Sub ProcId_1_TextChanged(sender As Object, e As EventArgs) Handles ProcId_1.TextChanged
If ProcId_1.TextLength = 4 Then
ProcId_2.Focus()
End If
End Sub
Private Sub ProcId_2_TextChanged(sender As Object, e As EventArgs) Handles ProcId_2.TextChanged
If ProcId_2.TextLength = 4 Then
ProcId_3.Focus()
End If
End Sub
Private Sub ProcId_3_TextChanged(sender As Object, e As EventArgs) Handles ProcId_3.TextChanged
If ProcId_3.TextLength = 4 Then
ProcId_4.Focus()
End If
End Sub
Private Sub ProcId_4_TextChanged(sender As Object, e As EventArgs) Handles ProcId_4.TextChanged
If ProcId_4.TextLength = 4 Then
'Actie
ProcId = ProcId_1.Text & ProcId_2.Text & ProcId_3.Text & ProcId_4.Text
If CheckSum(ProcId.Substring(0, 14)) = ProcId.Substring(14, 2) Then
Label5.Text = "Checksum Oke"
BuildKeyFileData()
CreateKeyButton.Enabled = True
Else
Label5.Text = "Checksum Fout"
End If
End If
End Sub
Private Function CheckSum(ByVal KeyString As String) As String
Dim xorvalue As Byte
For Each c As Char In KeyString
xorvalue = xorvalue Xor Convert.ToByte(c)
Next
Return xorvalue.ToString("X2")
End Function
Sub BuildKeyFileData()
Dim Keydata = _
<UCS_Registration>
<Client>
<Name><%= ClientName.Text %></Name>
<Regkey><%= ProcId %></Regkey>
</Client>
<UCS_Options>
<UDP><%= Option_UDP.Checked %></UDP>
<Telnet><%= Option_Telnet.Checked %></Telnet>
<Video><%= Option_Video.Checked %></Video>
<C2000><%= Option_C2000.Checked %></C2000>
<Voip><%= Option_voip.Checked %></Voip>
</UCS_Options>
</UCS_Registration>
KeyFileData.Text = Keydata.ToString
'Dim fs As New IO.StreamWriter(part.GetStream, New System.Text.UTF8Encoding)
'Dim xmlWriter As New Xml.XmlTextWriter(part.GetStream, New UTF8Encoding)
'xmlWriter.Formatting = Xml.Formatting.Indented
'Dim enc As New UTF8Encoding
'xmlWriter.WriteStartDocument()
'x.WriteTo(xmlWriter)
'xmlWriter.WriteEndDocument()
'xmlWriter.Flush()
'xmlWriter.Close()
End Sub
Dim EncryptionKey As String = "UX8Zmc2mjhzySAFvkDsHjwAz441Mn2jSkxljDYpp9Xq9uCySPcezYtqzKebbIUu"
'Dim saltArray As Byte() = Encoding.ASCII.GetBytes("this is my salt")
Private Function Encrypt(clearText As String) As String
Try
Dim clearBytes As Byte() = Encoding.Unicode.GetBytes(clearText)
Using encryptor As Aes = Aes.Create()
Dim saltArray As Byte() = Encoding.ASCII.GetBytes(ProcId)
Dim pdb As New Rfc2898DeriveBytes(EncryptionKey, saltArray)
encryptor.Key = pdb.GetBytes(32)
encryptor.IV = pdb.GetBytes(16)
Using ms As New MemoryStream()
Using cs As New CryptoStream(ms, encryptor.CreateEncryptor(), CryptoStreamMode.Write)
cs.Write(clearBytes, 0, clearBytes.Length)
cs.Close()
End Using
clearText = Convert.ToBase64String(ms.ToArray())
End Using
End Using
Return clearText
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
Return Nothing
End Function
Private Function Decrypt(cipherText As String) As String
Try
Dim cipherBytes As Byte() = Convert.FromBase64String(cipherText)
Using encryptor As Aes = Aes.Create()
Dim saltArray As Byte() = Encoding.ASCII.GetBytes(ProcId)
Dim pdb As New Rfc2898DeriveBytes(EncryptionKey, saltArray)
encryptor.Key = pdb.GetBytes(32)
encryptor.IV = pdb.GetBytes(16)
Using ms As New MemoryStream()
Using cs As New CryptoStream(ms, encryptor.CreateDecryptor(), CryptoStreamMode.Write)
cs.Write(cipherBytes, 0, cipherBytes.Length)
cs.Close()
End Using
cipherText = Encoding.Unicode.GetString(ms.ToArray())
End Using
End Using
Return cipherText
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
Return Nothing
End Function
Private Sub CreateKeyButton_Click(sender As Object, e As EventArgs) Handles CreateKeyButton.Click
If KeyFileData.Text.Length > 10 Then
RichTextBox1.Text = Encrypt(KeyFileData.Text)
End If
End Sub
Private Sub DecryptButton_Click(sender As Object, e As EventArgs) Handles DecryptButton.Click
If DataToDecryptTextbox.Text.Length > 10 Then
RichTextBox2Decrypt.Text = Decrypt(DataToDecryptTextbox.Text)
End If
End Sub
Private Sub ClientName_TextChanged(sender As Object, e As EventArgs) Handles ClientName.TextChanged
BuildKeyFileData()
End Sub
Private Sub Option_CheckedChanged(sender As Object, e As EventArgs) Handles Option_UDP.CheckedChanged, Option_Telnet.CheckedChanged, Option_Video.CheckedChanged, Option_C2000.CheckedChanged, Option_voip.CheckedChanged
BuildKeyFileData()
End Sub
Private Sub DataToDecryptTextbox_TextChanged(sender As Object, e As EventArgs) Handles DataToDecryptTextbox.TextChanged
If DataToDecryptTextbox.Text.Length > 10 Then
DecryptButton.Enabled = True
End If
End Sub
End Class

View File

@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{37CE89C7-22B2-49EE-B7DB-2242DC21C365}</ProjectGuid>
<OutputType>WinExe</OutputType>
<StartupObject>KeyFileGenerator.My.MyApplication</StartupObject>
<RootNamespace>KeyFileGenerator</RootNamespace>
<AssemblyName>KeyFileGenerator</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>WindowsForms</MyType>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<OutputPath>bin\Debug\</OutputPath>
<DocumentationFile>KeyFileGenerator.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DocumentationFile>KeyFileGenerator.xml</DocumentationFile>
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
</PropertyGroup>
<PropertyGroup>
<OptionExplicit>On</OptionExplicit>
</PropertyGroup>
<PropertyGroup>
<OptionCompare>Binary</OptionCompare>
</PropertyGroup>
<PropertyGroup>
<OptionStrict>On</OptionStrict>
</PropertyGroup>
<PropertyGroup>
<OptionInfer>On</OptionInfer>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Collections.Generic" />
<Import Include="System.Data" />
<Import Include="System.Drawing" />
<Import Include="System.Diagnostics" />
<Import Include="System.Windows.Forms" />
<Import Include="System.Linq" />
<Import Include="System.Xml.Linq" />
<Import Include="System.Threading.Tasks" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.vb">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.vb">
<DependentUpon>Form1.vb</DependentUpon>
<SubType>Form</SubType>
</Compile>
<Compile Include="My Project\AssemblyInfo.vb" />
<Compile Include="My Project\Application.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Application.myapp</DependentUpon>
</Compile>
<Compile Include="My Project\Resources.Designer.vb">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="My Project\Settings.Designer.vb">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.vb</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="My Project\Resources.resx">
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
<CustomToolNamespace>My.Resources</CustomToolNamespace>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
</None>
<None Include="My Project\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<CustomToolNamespace>My</CustomToolNamespace>
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
</None>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -0,0 +1,38 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18444
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
'NOTE: This file is auto-generated; do not modify it directly. To make changes,
' or if you encounter build errors in this file, go to the Project Designer
' (go to Project Properties or double-click the My Project node in
' Solution Explorer), and make changes on the Application tab.
'
Partial Friend Class MyApplication
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
Public Sub New()
MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows)
Me.IsSingleInstance = false
Me.EnableVisualStyles = true
Me.SaveMySettingsOnExit = true
Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses
End Sub
<Global.System.Diagnostics.DebuggerStepThroughAttribute()> _
Protected Overrides Sub OnCreateMainForm()
Me.MainForm = Global.KeyFileGenerator.KeyFileGenerator
End Sub
End Class
End Namespace

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-16"?>
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<MySubMain>true</MySubMain>
<MainForm>KeyFileGenerator</MainForm>
<SingleInstance>false</SingleInstance>
<ShutdownMode>0</ShutdownMode>
<EnableVisualStyles>true</EnableVisualStyles>
<AuthenticationMode>0</AuthenticationMode>
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
</MyApplicationData>

View File

@@ -0,0 +1,35 @@
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attributes
<Assembly: AssemblyTitle("KeyFileGenerator")>
<Assembly: AssemblyDescription("")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("KeyFileGenerator")>
<Assembly: AssemblyCopyright("Copyright © 2014")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(False)>
'The following GUID is for the ID of the typelib if this project is exposed to COM
<Assembly: Guid("43411a86-b961-4771-b4cc-1d58700e2b5e")>
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>

View File

@@ -0,0 +1,62 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18444
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My.Resources
'This class was auto-generated by the StronglyTypedResourceBuilder
'class via a tool like ResGen or Visual Studio.
'To add or remove a member, edit your .ResX file then rerun ResGen
'with the /str option, or rebuild your VS project.
'''<summary>
''' A strongly-typed resource class, for looking up localized strings, etc.
'''</summary>
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0"), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
Friend Module Resources
Private resourceMan As Global.System.Resources.ResourceManager
Private resourceCulture As Global.System.Globalization.CultureInfo
'''<summary>
''' Returns the cached ResourceManager instance used by this class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
Get
If Object.ReferenceEquals(resourceMan, Nothing) Then
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("KeyFileGenerator.Resources", GetType(Resources).Assembly)
resourceMan = temp
End If
Return resourceMan
End Get
End Property
'''<summary>
''' Overrides the current thread's CurrentUICulture property for all
''' resource lookups using this strongly typed resource class.
'''</summary>
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Friend Property Culture() As Global.System.Globalization.CultureInfo
Get
Return resourceCulture
End Get
Set(ByVal value As Global.System.Globalization.CultureInfo)
resourceCulture = value
End Set
End Property
End Module
End Namespace

View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,73 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.18444
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------
Option Strict On
Option Explicit On
Namespace My
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0"), _
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Partial Friend NotInheritable Class MySettings
Inherits Global.System.Configuration.ApplicationSettingsBase
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings)
#Region "My.Settings Auto-Save Functionality"
#If _MyType = "WindowsForms" Then
Private Shared addedHandler As Boolean
Private Shared addedHandlerLockObject As New Object
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
If My.Application.SaveMySettingsOnExit Then
My.Settings.Save()
End If
End Sub
#End If
#End Region
Public Shared ReadOnly Property [Default]() As MySettings
Get
#If _MyType = "WindowsForms" Then
If Not addedHandler Then
SyncLock addedHandlerLockObject
If Not addedHandler Then
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
addedHandler = True
End If
End SyncLock
End If
#End If
Return defaultInstance
End Get
End Property
End Class
End Namespace
Namespace My
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
Friend Module MySettingsProperty
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
Friend ReadOnly Property Settings() As Global.KeyFileGenerator.My.MySettings
Get
Return Global.KeyFileGenerator.My.MySettings.Default
End Get
End Property
End Module
End Namespace

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Binary file not shown.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
</configuration>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
</configuration>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
KeyFileGenerator
</name>
</assembly>
<members>
<member name="P:KeyFileGenerator.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:KeyFileGenerator.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:KeyFileGenerator.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,20 @@
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\bin\Debug\KeyFileGenerator.exe.config
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\bin\Debug\KeyFileGenerator.exe
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\bin\Debug\KeyFileGenerator.pdb
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\bin\Debug\KeyFileGenerator.xml
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\obj\Debug\KeyFileGenerator.KeyFileGenerator.resources
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\obj\Debug\KeyFileGenerator.Resources.resources
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\obj\Debug\KeyFileGenerator.vbproj.GenerateResource.Cache
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\obj\Debug\KeyFileGenerator.exe
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\obj\Debug\KeyFileGenerator.xml
C:\Users\ms\AppData\Local\Temporary Projects\KeyFileGenerator\obj\Debug\KeyFileGenerator.pdb
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\bin\Debug\KeyFileGenerator.exe.config
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\obj\Debug\KeyFileGenerator.exe
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\obj\Debug\KeyFileGenerator.xml
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\obj\Debug\KeyFileGenerator.pdb
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\bin\Debug\KeyFileGenerator.exe
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\bin\Debug\KeyFileGenerator.pdb
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\bin\Debug\KeyFileGenerator.xml
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\obj\Debug\KeyFileGenerator.KeyFileGenerator.resources
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\obj\Debug\KeyFileGenerator.Resources.resources
C:\Visual Studio Projecten\KeyFileGenerator\KeyFileGenerator\obj\Debug\KeyFileGenerator.vbproj.GenerateResource.Cache

View File

@@ -0,0 +1,24 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>
KeyFileGenerator
</name>
</assembly>
<members>
<member name="P:KeyFileGenerator.My.Resources.Resources.ResourceManager">
<summary>
Returns the cached ResourceManager instance used by this class.
</summary>
</member><member name="P:KeyFileGenerator.My.Resources.Resources.Culture">
<summary>
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
</summary>
</member><member name="T:KeyFileGenerator.My.Resources.Resources">
<summary>
A strongly-typed resource class, for looking up localized strings, etc.
</summary>
</member>
</members>
</doc>