initial commit

This commit is contained in:
Ryan Ward 2021-01-22 15:43:35 -05:00
commit 1f0d8837ea
41 changed files with 2408 additions and 0 deletions

BIN
.vs/OnePass/v16/.suo Normal file

Binary file not shown.

25
OnePass.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30907.101
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OnePass", "OnePass\OnePass.csproj", "{9AB63E76-3B74-4EEA-BDB5-315B0F7A60C1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9AB63E76-3B74-4EEA-BDB5-315B0F7A60C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9AB63E76-3B74-4EEA-BDB5-315B0F7A60C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9AB63E76-3B74-4EEA-BDB5-315B0F7A60C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9AB63E76-3B74-4EEA-BDB5-315B0F7A60C1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {AA9BEAFE-ECB7-4A0D-BF1F-6E53DF38929F}
EndGlobalSection
EndGlobal

6
OnePass/App.config Normal file
View File

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

286
OnePass/Form1.Designer.cs generated Normal file
View File

@ -0,0 +1,286 @@

namespace OnePass
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.Generate = new System.Windows.Forms.Button();
this.passCycle = new System.Windows.Forms.NumericUpDown();
this.passLength = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.sitename = new System.Windows.Forms.TextBox();
this.username = new System.Windows.Forms.TextBox();
this.masterpass = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.atoz = new System.Windows.Forms.Label();
this.uAtoZ = new System.Windows.Forms.Label();
this.numbers = new System.Windows.Forms.Label();
this.special = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.passCycle)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.passLength)).BeginInit();
this.SuspendLayout();
//
// Generate
//
this.Generate.Location = new System.Drawing.Point(259, 149);
this.Generate.Name = "Generate";
this.Generate.Size = new System.Drawing.Size(109, 20);
this.Generate.TabIndex = 0;
this.Generate.Text = "Generate Password";
this.Generate.UseVisualStyleBackColor = true;
this.Generate.Click += new System.EventHandler(this.Generate_Click);
//
// passCycle
//
this.passCycle.Location = new System.Drawing.Point(209, 149);
this.passCycle.Maximum = new decimal(new int[] {
1000,
0,
0,
0});
this.passCycle.Name = "passCycle";
this.passCycle.Size = new System.Drawing.Size(45, 20);
this.passCycle.TabIndex = 2;
//
// passLength
//
this.passLength.Location = new System.Drawing.Point(112, 150);
this.passLength.Maximum = new decimal(new int[] {
64,
0,
0,
0});
this.passLength.Minimum = new decimal(new int[] {
4,
0,
0,
0});
this.passLength.Name = "passLength";
this.passLength.Size = new System.Drawing.Size(46, 20);
this.passLength.TabIndex = 3;
this.passLength.Value = new decimal(new int[] {
16,
0,
0,
0});
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label1.Location = new System.Drawing.Point(164, 152);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(39, 15);
this.label1.TabIndex = 4;
this.label1.Text = "Cycle:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label2.Location = new System.Drawing.Point(10, 151);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(101, 15);
this.label2.TabIndex = 5;
this.label2.Text = "Password Length";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label3.Location = new System.Drawing.Point(5, 8);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(32, 15);
this.label3.TabIndex = 6;
this.label3.Text = "Site:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label4.Location = new System.Drawing.Point(3, 33);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(40, 15);
this.label4.TabIndex = 7;
this.label4.Text = "Login:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label5.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label5.Location = new System.Drawing.Point(3, 58);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(104, 15);
this.label5.TabIndex = 8;
this.label5.Text = "Master Password:";
//
// sitename
//
this.sitename.Location = new System.Drawing.Point(43, 6);
this.sitename.Name = "sitename";
this.sitename.Size = new System.Drawing.Size(325, 20);
this.sitename.TabIndex = 9;
//
// username
//
this.username.Location = new System.Drawing.Point(43, 31);
this.username.Name = "username";
this.username.Size = new System.Drawing.Size(325, 20);
this.username.TabIndex = 10;
//
// masterpass
//
this.masterpass.Location = new System.Drawing.Point(107, 56);
this.masterpass.Name = "masterpass";
this.masterpass.Size = new System.Drawing.Size(261, 20);
this.masterpass.TabIndex = 11;
this.masterpass.UseSystemPasswordChar = true;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
this.label6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.label6.Location = new System.Drawing.Point(3, 77);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(53, 15);
this.label6.TabIndex = 12;
this.label6.Text = "Options:";
//
// atoz
//
this.atoz.AutoSize = true;
this.atoz.BackColor = System.Drawing.SystemColors.Highlight;
this.atoz.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.atoz.Font = new System.Drawing.Font("Segoe UI", 24F);
this.atoz.Location = new System.Drawing.Point(38, 95);
this.atoz.Name = "atoz";
this.atoz.Size = new System.Drawing.Size(65, 47);
this.atoz.TabIndex = 13;
this.atoz.Text = "a-z";
this.atoz.Click += new System.EventHandler(this.atoz_Click);
//
// uAtoZ
//
this.uAtoZ.AutoSize = true;
this.uAtoZ.BackColor = System.Drawing.SystemColors.Highlight;
this.uAtoZ.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.uAtoZ.Font = new System.Drawing.Font("Segoe UI", 24F);
this.uAtoZ.Location = new System.Drawing.Point(109, 95);
this.uAtoZ.Name = "uAtoZ";
this.uAtoZ.Size = new System.Drawing.Size(74, 47);
this.uAtoZ.TabIndex = 14;
this.uAtoZ.Text = "A-Z";
this.uAtoZ.Click += new System.EventHandler(this.uAtoZ_Click);
//
// numbers
//
this.numbers.AutoSize = true;
this.numbers.BackColor = System.Drawing.SystemColors.Highlight;
this.numbers.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.numbers.Font = new System.Drawing.Font("Segoe UI", 24F);
this.numbers.Location = new System.Drawing.Point(188, 95);
this.numbers.Name = "numbers";
this.numbers.Size = new System.Drawing.Size(69, 47);
this.numbers.TabIndex = 15;
this.numbers.Text = "0-9";
this.numbers.Click += new System.EventHandler(this.numbers_Click);
//
// special
//
this.special.AutoSize = true;
this.special.BackColor = System.Drawing.SystemColors.Highlight;
this.special.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.special.Font = new System.Drawing.Font("Segoe UI", 24F);
this.special.Location = new System.Drawing.Point(263, 95);
this.special.Name = "special";
this.special.Size = new System.Drawing.Size(81, 47);
this.special.TabIndex = 16;
this.special.Text = "!@#";
this.special.Click += new System.EventHandler(this.special_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(380, 176);
this.Controls.Add(this.special);
this.Controls.Add(this.numbers);
this.Controls.Add(this.uAtoZ);
this.Controls.Add(this.atoz);
this.Controls.Add(this.label6);
this.Controls.Add(this.masterpass);
this.Controls.Add(this.username);
this.Controls.Add(this.sitename);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.passLength);
this.Controls.Add(this.passCycle);
this.Controls.Add(this.Generate);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form1";
this.Text = "OnePass V1.0";
((System.ComponentModel.ISupportInitialize)(this.passCycle)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.passLength)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button Generate;
private System.Windows.Forms.NumericUpDown passCycle;
private System.Windows.Forms.NumericUpDown passLength;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox sitename;
private System.Windows.Forms.TextBox username;
private System.Windows.Forms.TextBox masterpass;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label atoz;
private System.Windows.Forms.Label uAtoZ;
private System.Windows.Forms.Label numbers;
private System.Windows.Forms.Label special;
}
}

157
OnePass/Form1.cs Normal file
View File

@ -0,0 +1,157 @@
using System;
using System.Collections;
using System.Text;
using System.Threading;
using System.Windows.Forms;
namespace OnePass
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void atoz_Click(object sender, EventArgs e)
{
if(atoz.BackColor == System.Drawing.SystemColors.InactiveCaption)
{
atoz.BackColor = System.Drawing.SystemColors.Highlight;
} else
{
atoz.BackColor = System.Drawing.SystemColors.InactiveCaption;
}
}
private void uAtoZ_Click(object sender, EventArgs e)
{
if (uAtoZ.BackColor == System.Drawing.SystemColors.InactiveCaption)
{
uAtoZ.BackColor = System.Drawing.SystemColors.Highlight;
}
else
{
uAtoZ.BackColor = System.Drawing.SystemColors.InactiveCaption;
}
}
private void numbers_Click(object sender, EventArgs e)
{
if (numbers.BackColor == System.Drawing.SystemColors.InactiveCaption)
{
numbers.BackColor = System.Drawing.SystemColors.Highlight;
}
else
{
numbers.BackColor = System.Drawing.SystemColors.InactiveCaption;
}
}
private void special_Click(object sender, EventArgs e)
{
if (special.BackColor == System.Drawing.SystemColors.InactiveCaption)
{
special.BackColor = System.Drawing.SystemColors.Highlight;
}
else
{
special.BackColor = System.Drawing.SystemColors.InactiveCaption;
}
}
void addSpecial(ref ArrayList list)
{
for (int i = 33; i <= 47; i++)
{
list.Add(Char.ConvertFromUtf32(i));
}
for (int i = 58; i <= 64; i++)
{
list.Add(Char.ConvertFromUtf32(i));
}
for (int i = 91; i <= 96; i++)
{
list.Add(Char.ConvertFromUtf32(i));
}
}
void addNumbers(ref ArrayList list)
{
for(int i = 48; i <= 57; i++)
{
list.Add(Char.ConvertFromUtf32(i));
}
}
void addLower(ref ArrayList list)
{
for (int i = 97; i <= 122; i++)
{
list.Add(Char.ConvertFromUtf32(i));
}
}
void addUpper(ref ArrayList list)
{
for (int i = 65; i <= 90; i++)
{
list.Add(Char.ConvertFromUtf32(i));
}
}
public string GenerateKey(uint length, ulong seed, ref ArrayList list)
{
int to = list.Count;
Random r = new Random((int)seed + (int)length);
StringBuilder qs = new StringBuilder();
for (int i = 0; i < length; i++)
{
qs.Append(list[r.Next(0,to)]);
}
return qs.ToString();
}
private void Generate_Click(object sender, EventArgs e)
{
if (sitename.Text == "" || username.Text == "" || masterpass.Text == "")
{
MessageBox.Show("Cannot leave a field blank!");
return;
}
ArrayList chars = new ArrayList();
if (special.BackColor == System.Drawing.SystemColors.Highlight)
addSpecial(ref chars);
if (numbers.BackColor == System.Drawing.SystemColors.Highlight)
addNumbers(ref chars);
if (atoz.BackColor == System.Drawing.SystemColors.Highlight)
addLower(ref chars);
if (uAtoZ.BackColor == System.Drawing.SystemColors.Highlight)
addUpper(ref chars);
byte[] sn_bytes = Encoding.ASCII.GetBytes(sitename.Text);
byte[] un_bytes = Encoding.ASCII.GetBytes(username.Text);
byte[] mp_bytes = Encoding.ASCII.GetBytes(masterpass.Text);
ulong seed = (ulong)passCycle.Value * 0x13AFF5b8;
byte c = 0;
uint temp=0;
foreach(byte b in sn_bytes)
{
temp = b;
seed^= (temp << (c++%16)*4);
}
foreach (byte b in un_bytes)
{
seed += b;
}
foreach (byte b in mp_bytes)
{
temp = b;
seed ^= (temp << (c++ % 8) * 8);
}
Clipboard.SetText(GenerateKey((uint)passLength.Value, seed, ref chars));
Generate.Text = "Copied to Clipboard";
Generate.Enabled = false;
this.Update();
Thread.Sleep(1000);
Generate.Text = "Generate Password";
Generate.Enabled = true;
}
}
}

1522
OnePass/Form1.resx Normal file

File diff suppressed because it is too large Load Diff

89
OnePass/OnePass.csproj Normal file
View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" 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>{9AB63E76-3B74-4EEA-BDB5-315B0F7A60C1}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>OnePass</RootNamespace>
<AssemblyName>OnePass</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>lock-clipart-cliparti1_lock-clip-art_02.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Form1.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Form1.Designer.cs">
<DependentUpon>Form1.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="Form1.resx">
<DependentUpon>Form1.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="lock-clipart-cliparti1_lock-clip-art_02.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

22
OnePass/Program.cs Normal file
View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OnePass
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using 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.
[assembly: AssemblyTitle("OnePass")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OnePass")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("9ab63e76-3b74-4eea-bdb5-315b0f7a60c1")]
// 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")]

70
OnePass/Properties/Resources.Designer.cs generated Normal file
View File

@ -0,0 +1,70 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace OnePass.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// 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.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OnePass.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <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)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

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>

29
OnePass/Properties/Settings.Designer.cs generated Normal file
View File

@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace OnePass.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

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)">
<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.7.2" />
</startup>
</configuration>

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.7.2" />
</startup>
</configuration>

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

Binary file not shown.

View File

@ -0,0 +1 @@
8069502011d0681850e57a53d5a1673222f430a6

View File

@ -0,0 +1,10 @@
C:\Users\rayam\source\repos\OnePass\OnePass\bin\Debug\OnePass.exe.config
C:\Users\rayam\source\repos\OnePass\OnePass\bin\Debug\OnePass.exe
C:\Users\rayam\source\repos\OnePass\OnePass\bin\Debug\OnePass.pdb
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.csprojAssemblyReference.cache
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.Form1.resources
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.Properties.Resources.resources
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.csproj.GenerateResource.cache
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.csproj.CoreCompileInputs.cache
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.exe
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.pdb

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]

Binary file not shown.

View File

@ -0,0 +1 @@
a05b2efad1c492f69cfd9e73a7de2300da2b5b0d

View File

@ -0,0 +1,10 @@
C:\Users\rayam\source\repos\OnePass\OnePass\bin\Release\OnePass.exe.config
C:\Users\rayam\source\repos\OnePass\OnePass\bin\Release\OnePass.exe
C:\Users\rayam\source\repos\OnePass\OnePass\bin\Release\OnePass.pdb
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Release\OnePass.csprojAssemblyReference.cache
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Release\OnePass.Form1.resources
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Release\OnePass.Properties.Resources.resources
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Release\OnePass.csproj.GenerateResource.cache
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Release\OnePass.csproj.CoreCompileInputs.cache
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Release\OnePass.exe
C:\Users\rayam\source\repos\OnePass\OnePass\obj\Release\OnePass.pdb

Binary file not shown.

Binary file not shown.