Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d6ca5eae30 | |||
| 45ccb6c6cb | |||
| 1e83d9a1cc | |||
| aed2e8e6bc | |||
| 07e8793183 |
0
.vs/OnePass/FileContentIndex/read.lock
Normal file
0
.vs/OnePass/FileContentIndex/read.lock
Normal file
Binary file not shown.
BIN
.vs/OnePass/v16/Browse.VC.db
Normal file
BIN
.vs/OnePass/v16/Browse.VC.db
Normal file
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
||||
|
||||
19
OnePass/Form1.Designer.cs
generated
19
OnePass/Form1.Designer.cs
generated
@ -52,6 +52,7 @@ namespace OnePass
|
||||
this.load_login = new System.Windows.Forms.Button();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.keep_chk = new System.Windows.Forms.CheckBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.passCycle)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.passLength)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
@ -307,11 +308,25 @@ namespace OnePass
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
|
||||
//
|
||||
// keep_chk
|
||||
//
|
||||
this.keep_chk.AutoSize = true;
|
||||
this.keep_chk.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold);
|
||||
this.keep_chk.Location = new System.Drawing.Point(314, 79);
|
||||
this.keep_chk.Name = "keep_chk";
|
||||
this.keep_chk.Size = new System.Drawing.Size(55, 19);
|
||||
this.keep_chk.TabIndex = 25;
|
||||
this.keep_chk.Text = "Keep";
|
||||
this.keep_chk.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
this.keep_chk.UseVisualStyleBackColor = true;
|
||||
this.keep_chk.CheckedChanged += new System.EventHandler(this.keep_chk_CheckedChanged);
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(426, 183);
|
||||
this.Controls.Add(this.keep_chk);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.label7);
|
||||
this.Controls.Add(this.load_login);
|
||||
@ -338,7 +353,8 @@ namespace OnePass
|
||||
this.MaximumSize = new System.Drawing.Size(442, 222);
|
||||
this.MinimumSize = new System.Drawing.Size(442, 222);
|
||||
this.Name = "Form1";
|
||||
this.Text = "OnePass V5.0";
|
||||
this.Text = "OnePass V5.2.1";
|
||||
this.Load += new System.EventHandler(this.Form1_Load);
|
||||
((System.ComponentModel.ISupportInitialize)(this.passCycle)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.passLength)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
@ -370,6 +386,7 @@ namespace OnePass
|
||||
private System.Windows.Forms.Button load_login;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.CheckBox keep_chk;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@ using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace OnePass
|
||||
@ -59,19 +60,19 @@ namespace OnePass
|
||||
isvowel = !isvowel;
|
||||
}
|
||||
return pass;
|
||||
}
|
||||
}//using Microsoft.WindowsAPICodePack.Dialogs;
|
||||
private void label7_Click(object sender, EventArgs e)
|
||||
{
|
||||
label7.BackColor = SystemColors.Highlight;
|
||||
atoz.BackColor = SystemColors.InactiveCaption;
|
||||
uAtoZ.BackColor = SystemColors.InactiveCaption;
|
||||
numbers.BackColor = SystemColors.InactiveCaption;
|
||||
special.BackColor = SystemColors.InactiveCaption;
|
||||
extspc.BackColor = SystemColors.InactiveCaption;
|
||||
label7.BackColor = System.Drawing.SystemColors.Highlight;
|
||||
atoz.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
uAtoZ.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
numbers.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
special.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
extspc.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
}
|
||||
private void atoz_Click(object sender, EventArgs e)
|
||||
{
|
||||
label7.BackColor = SystemColors.InactiveCaption;
|
||||
label7.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
if (atoz.BackColor == System.Drawing.SystemColors.InactiveCaption)
|
||||
{
|
||||
atoz.BackColor = System.Drawing.SystemColors.Highlight;
|
||||
@ -83,7 +84,7 @@ namespace OnePass
|
||||
|
||||
private void uAtoZ_Click(object sender, EventArgs e)
|
||||
{
|
||||
label7.BackColor = SystemColors.InactiveCaption;
|
||||
label7.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
if (uAtoZ.BackColor == System.Drawing.SystemColors.InactiveCaption)
|
||||
{
|
||||
uAtoZ.BackColor = System.Drawing.SystemColors.Highlight;
|
||||
@ -96,7 +97,7 @@ namespace OnePass
|
||||
|
||||
private void numbers_Click(object sender, EventArgs e)
|
||||
{
|
||||
label7.BackColor = SystemColors.InactiveCaption;
|
||||
label7.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
if (numbers.BackColor == System.Drawing.SystemColors.InactiveCaption)
|
||||
{
|
||||
numbers.BackColor = System.Drawing.SystemColors.Highlight;
|
||||
@ -109,7 +110,7 @@ namespace OnePass
|
||||
|
||||
private void special_Click(object sender, EventArgs e)
|
||||
{
|
||||
label7.BackColor = SystemColors.InactiveCaption;
|
||||
label7.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
if (special.BackColor == System.Drawing.SystemColors.InactiveCaption)
|
||||
{
|
||||
special.BackColor = System.Drawing.SystemColors.Highlight;
|
||||
@ -179,7 +180,7 @@ namespace OnePass
|
||||
{
|
||||
if (sitename.Text == "" || username.Text == "" || masterpass.Text == "")
|
||||
{
|
||||
MessageBox.Show("Cannot leave a field blank!");
|
||||
System.Windows.MessageBox.Show("Cannot leave a field blank!");
|
||||
return;
|
||||
}
|
||||
ArrayList chars = new ArrayList();
|
||||
@ -193,13 +194,13 @@ namespace OnePass
|
||||
addUpper(ref chars);
|
||||
if (extspc.BackColor == System.Drawing.SystemColors.Highlight)
|
||||
addExtended(ref chars);
|
||||
if(label7.BackColor == SystemColors.Highlight)
|
||||
if(label7.BackColor == System.Drawing.SystemColors.Highlight)
|
||||
{
|
||||
chars.Add('A');
|
||||
}
|
||||
if (chars.Count == 0)
|
||||
{
|
||||
MessageBox.Show("Must have at least one option turned on to generate a password!");
|
||||
System.Windows.MessageBox.Show("Must have at least one option turned on to generate a password!");
|
||||
return;
|
||||
}
|
||||
byte[] sn_bytes = Encoding.ASCII.GetBytes(sitename.Text);
|
||||
@ -224,27 +225,21 @@ namespace OnePass
|
||||
}
|
||||
try
|
||||
{
|
||||
if (label7.BackColor == SystemColors.Highlight)
|
||||
Clipboard.SetText(GeneratePassword((int)passLength.Value, (int)seed));
|
||||
if (label7.BackColor == System.Drawing.SystemColors.Highlight)
|
||||
System.Windows.Clipboard.SetText(GeneratePassword((int)passLength.Value, (int)seed));
|
||||
else
|
||||
Clipboard.SetText(GenerateKey((uint)passLength.Value, seed, ref chars));
|
||||
System.Windows.Clipboard.SetText(GenerateKey((uint)passLength.Value, seed, ref chars));
|
||||
} catch
|
||||
{
|
||||
MessageBox.Show("Attempt to capture clipboard data over the network! (Are you using remote desktop w/clipboard)");
|
||||
System.Windows.MessageBox.Show("Attempt to capture clipboard data over the network! (Are you using remote desktop w/clipboard)");
|
||||
}
|
||||
if (!keep_chk.Checked)
|
||||
masterpass.Text = "";
|
||||
Generate.Text = "Copied to Clipboard";
|
||||
Generate.Enabled = false;
|
||||
Update();
|
||||
Thread.Sleep(7000);
|
||||
Generate.Text = "Generate Password";
|
||||
Generate.Enabled = true;
|
||||
Clipboard.Clear();
|
||||
}
|
||||
|
||||
private void extspc_Click(object sender, EventArgs e)
|
||||
{
|
||||
label7.BackColor = SystemColors.InactiveCaption;
|
||||
label7.BackColor = System.Drawing.SystemColors.InactiveCaption;
|
||||
if (extspc.BackColor == System.Drawing.SystemColors.InactiveCaption)
|
||||
{
|
||||
extspc.BackColor = System.Drawing.SystemColors.Highlight;
|
||||
@ -257,7 +252,7 @@ namespace OnePass
|
||||
|
||||
private void help_Click(object sender, EventArgs e)
|
||||
{
|
||||
MessageBox.Show("When a password is generated the password will live on your clipboard for 7 seconds (paste it quick). Then your master password and the clipboard is also cleared out! Make sure nothing important is on the clipboard!","Help!");
|
||||
System.Windows.MessageBox.Show("When a password is generated the password will live on your clipboard for 7 seconds (paste it quick). Then your master password and the clipboard is also cleared out! Make sure nothing important is on the clipboard!","Help!");
|
||||
}
|
||||
private string MakeValidFileName(string name)
|
||||
{
|
||||
@ -278,12 +273,12 @@ namespace OnePass
|
||||
username.Text = form2.login;
|
||||
passCycle.Value = (decimal)form2.cycle;
|
||||
passLength.Value = (decimal)form2.length;
|
||||
special.BackColor = (form2.opt1) ? SystemColors.Highlight : SystemColors.InactiveCaption;
|
||||
numbers.BackColor = (form2.opt2) ? SystemColors.Highlight : SystemColors.InactiveCaption;
|
||||
atoz.BackColor = (form2.opt3) ? SystemColors.Highlight : SystemColors.InactiveCaption;
|
||||
uAtoZ.BackColor = (form2.opt4) ? SystemColors.Highlight : SystemColors.InactiveCaption;
|
||||
extspc.BackColor = (form2.opt5) ? SystemColors.Highlight : SystemColors.InactiveCaption;
|
||||
label7.BackColor = (form2.opt6) ? SystemColors.Highlight : SystemColors.InactiveCaption;
|
||||
special.BackColor = (form2.opt1) ? System.Drawing.SystemColors.Highlight : System.Drawing.SystemColors.InactiveCaption;
|
||||
numbers.BackColor = (form2.opt2) ? System.Drawing.SystemColors.Highlight : System.Drawing.SystemColors.InactiveCaption;
|
||||
atoz.BackColor = (form2.opt3) ? System.Drawing.SystemColors.Highlight : System.Drawing.SystemColors.InactiveCaption;
|
||||
uAtoZ.BackColor = (form2.opt4) ? System.Drawing.SystemColors.Highlight : System.Drawing.SystemColors.InactiveCaption;
|
||||
extspc.BackColor = (form2.opt5) ? System.Drawing.SystemColors.Highlight : System.Drawing.SystemColors.InactiveCaption;
|
||||
label7.BackColor = (form2.opt6) ? System.Drawing.SystemColors.Highlight : System.Drawing.SystemColors.InactiveCaption;
|
||||
}
|
||||
}
|
||||
|
||||
@ -291,7 +286,7 @@ namespace OnePass
|
||||
{
|
||||
if(sitename.Text=="" || username.Text == "")
|
||||
{
|
||||
MessageBox.Show("Cannot save data if fields are incomplete!");
|
||||
System.Windows.MessageBox.Show("Cannot save data if fields are incomplete!");
|
||||
return;
|
||||
}
|
||||
try
|
||||
@ -301,18 +296,18 @@ namespace OnePass
|
||||
writer.Write(username.Text);
|
||||
writer.Write((int)passCycle.Value);
|
||||
writer.Write((int)passLength.Value);
|
||||
writer.Write(special.BackColor == SystemColors.Highlight);
|
||||
writer.Write(numbers.BackColor == SystemColors.Highlight);
|
||||
writer.Write(atoz.BackColor == SystemColors.Highlight);
|
||||
writer.Write(uAtoZ.BackColor == SystemColors.Highlight);
|
||||
writer.Write(extspc.BackColor == SystemColors.Highlight);
|
||||
writer.Write(label7.BackColor == SystemColors.Highlight);
|
||||
writer.Write(special.BackColor == System.Drawing.SystemColors.Highlight);
|
||||
writer.Write(numbers.BackColor == System.Drawing.SystemColors.Highlight);
|
||||
writer.Write(atoz.BackColor == System.Drawing.SystemColors.Highlight);
|
||||
writer.Write(uAtoZ.BackColor == System.Drawing.SystemColors.Highlight);
|
||||
writer.Write(extspc.BackColor == System.Drawing.SystemColors.Highlight);
|
||||
writer.Write(label7.BackColor == System.Drawing.SystemColors.Highlight);
|
||||
writer.Flush();
|
||||
writer.Dispose();
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message);
|
||||
System.Windows.MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
@ -325,5 +320,15 @@ namespace OnePass
|
||||
{
|
||||
masterpass.UseSystemPasswordChar = !checkBox1.Checked;
|
||||
}
|
||||
|
||||
private void Form1_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void keep_chk_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
43
OnePass/Form2.Designer.cs
generated
43
OnePass/Form2.Designer.cs
generated
@ -34,6 +34,8 @@ namespace OnePass
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.select_login = new System.Windows.Forms.Button();
|
||||
this.remove_login = new System.Windows.Forms.Button();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.button2 = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Logins
|
||||
@ -55,9 +57,9 @@ namespace OnePass
|
||||
//
|
||||
// select_login
|
||||
//
|
||||
this.select_login.Location = new System.Drawing.Point(13, 153);
|
||||
this.select_login.Location = new System.Drawing.Point(13, 152);
|
||||
this.select_login.Name = "select_login";
|
||||
this.select_login.Size = new System.Drawing.Size(132, 23);
|
||||
this.select_login.Size = new System.Drawing.Size(84, 23);
|
||||
this.select_login.TabIndex = 2;
|
||||
this.select_login.Text = "Select Login Info";
|
||||
this.select_login.UseVisualStyleBackColor = true;
|
||||
@ -65,28 +67,51 @@ namespace OnePass
|
||||
//
|
||||
// remove_login
|
||||
//
|
||||
this.remove_login.Location = new System.Drawing.Point(177, 153);
|
||||
this.remove_login.Location = new System.Drawing.Point(13, 179);
|
||||
this.remove_login.Name = "remove_login";
|
||||
this.remove_login.Size = new System.Drawing.Size(132, 23);
|
||||
this.remove_login.Size = new System.Drawing.Size(84, 23);
|
||||
this.remove_login.TabIndex = 3;
|
||||
this.remove_login.Text = "Delete Login Info";
|
||||
this.remove_login.UseVisualStyleBackColor = true;
|
||||
this.remove_login.Click += new System.EventHandler(this.remove_login_Click);
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.Location = new System.Drawing.Point(222, 152);
|
||||
this.button1.Name = "button1";
|
||||
this.button1.Size = new System.Drawing.Size(87, 23);
|
||||
this.button1.TabIndex = 4;
|
||||
this.button1.Text = "Export Logins";
|
||||
this.button1.UseVisualStyleBackColor = true;
|
||||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// button2
|
||||
//
|
||||
this.button2.Location = new System.Drawing.Point(222, 179);
|
||||
this.button2.Name = "button2";
|
||||
this.button2.Size = new System.Drawing.Size(87, 23);
|
||||
this.button2.TabIndex = 5;
|
||||
this.button2.Text = "Import Logins";
|
||||
this.button2.UseVisualStyleBackColor = true;
|
||||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||||
//
|
||||
// Form2
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(321, 182);
|
||||
this.ClientSize = new System.Drawing.Size(321, 207);
|
||||
this.Controls.Add(this.button2);
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.remove_login);
|
||||
this.Controls.Add(this.select_login);
|
||||
this.Controls.Add(this.textBox1);
|
||||
this.Controls.Add(this.Logins);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MaximumSize = new System.Drawing.Size(337, 221);
|
||||
this.MinimumSize = new System.Drawing.Size(337, 221);
|
||||
this.MaximumSize = new System.Drawing.Size(337, 246);
|
||||
this.MinimumSize = new System.Drawing.Size(337, 246);
|
||||
this.Name = "Form2";
|
||||
this.Text = "Saved Logins";
|
||||
this.Text = "Logins";
|
||||
this.Load += new System.EventHandler(this.Form2_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@ -98,5 +123,7 @@ namespace OnePass
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Button select_login;
|
||||
private System.Windows.Forms.Button remove_login;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.Button button2;
|
||||
}
|
||||
}
|
||||
@ -1,18 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO.Compression;
|
||||
using System.Globalization;
|
||||
|
||||
namespace OnePass
|
||||
{
|
||||
public partial class Form2 : Form
|
||||
{//
|
||||
{
|
||||
public string site { get; set; }
|
||||
public string login { get; set; }
|
||||
public bool opt6 { get; set; }
|
||||
@ -25,6 +21,7 @@ namespace OnePass
|
||||
public int cycle { get; set; }
|
||||
public bool state { get; set; }
|
||||
public string path { get; }
|
||||
public string desktop = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop));
|
||||
List<string> files = new List<string>();
|
||||
public Form2()
|
||||
{
|
||||
@ -93,5 +90,43 @@ namespace OnePass
|
||||
init();
|
||||
}
|
||||
}
|
||||
//Export
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
string filename = "logins_" + DateTime.Now.ToString("MM-dd-yy (hhmmss)") + ".onp";
|
||||
try
|
||||
{
|
||||
ZipFile.CreateFromDirectory(path, Path.Combine(desktop, filename));
|
||||
MessageBox.Show("Export has been saved to: " + Path.Combine(desktop, filename));
|
||||
} catch
|
||||
{
|
||||
MessageBox.Show("An export already exists! " + Path.Combine(desktop, filename));
|
||||
}
|
||||
}
|
||||
//Import
|
||||
private void button2_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenFileDialog openDialog = new OpenFileDialog();
|
||||
openDialog.Title = "Select A File";
|
||||
openDialog.Filter = "Onepass Files (*.onp)|*.onp" + "|" +
|
||||
"All Files (*.*)|*.*";
|
||||
try
|
||||
{
|
||||
if (openDialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
ZipFile.ExtractToDirectory(openDialog.FileName, path);
|
||||
init();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
MessageBox.Show("Invalid file selected!");
|
||||
}
|
||||
}
|
||||
|
||||
private void Form2_Load(object sender, EventArgs e)
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -12,6 +12,7 @@
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
@ -36,8 +37,20 @@
|
||||
<ApplicationIcon>lock-clipart-cliparti1_lock-clip-art_02.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.WindowsAPICodePack, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.WindowsAPICodePack-Core.1.1.0.0\lib\Microsoft.WindowsAPICodePack.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.WindowsAPICodePack.Shell, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.WindowsAPICodePack-Shell.1.1.0.0\lib\Microsoft.WindowsAPICodePack.Shell.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.WindowsAPICodePack.ShellExtensions, Version=1.1.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.WindowsAPICodePack-Shell.1.1.0.0\lib\Microsoft.WindowsAPICodePack.ShellExtensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression.FileSystem" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
@ -47,6 +60,7 @@
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs">
|
||||
@ -77,7 +91,9 @@
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
|
||||
40
OnePass/Properties/Resources.Designer.cs
generated
40
OnePass/Properties/Resources.Designer.cs
generated
@ -8,9 +8,10 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace OnePass.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
namespace OnePass.Properties
|
||||
{
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
@ -18,31 +19,26 @@ namespace OnePass.Properties
|
||||
// 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.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
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()
|
||||
{
|
||||
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))
|
||||
{
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OnePass.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
@ -55,16 +51,22 @@ namespace OnePass.Properties
|
||||
/// 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
|
||||
{
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 5.2.1.
|
||||
/// </summary>
|
||||
internal static string Version {
|
||||
get {
|
||||
return ResourceManager.GetString("Version", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
@ -60,6 +60,7 @@
|
||||
: 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">
|
||||
@ -68,9 +69,10 @@
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<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">
|
||||
@ -85,9 +87,10 @@
|
||||
<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="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">
|
||||
@ -109,9 +112,12 @@
|
||||
<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>
|
||||
<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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Version" xml:space="preserve">
|
||||
<value>5.2.1</value>
|
||||
</data>
|
||||
</root>
|
||||
15
OnePass/Properties/Settings.Designer.cs
generated
15
OnePass/Properties/Settings.Designer.cs
generated
@ -8,20 +8,17 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace OnePass.Properties {
|
||||
|
||||
|
||||
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
|
||||
{
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.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
|
||||
{
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
||||
|
||||
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
8069502011d0681850e57a53d5a1673222f430a6
|
||||
00e520602f451cc44711f2d82caabf1b2656ae6e
|
||||
|
||||
@ -8,3 +8,25 @@ C:\Users\rayam\source\repos\OnePass\OnePass\obj\Debug\OnePass.csproj.GenerateRes
|
||||
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
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\OnePass.exe.config
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\OnePass.exe
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\OnePass.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.csproj.AssemblyReference.cache
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.Form1.resources
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.Form2.resources
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.Properties.Resources.resources
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.csproj.GenerateResource.cache
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.csproj.CoreCompileInputs.cache
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.exe
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.dll
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.Shell.dll
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.ShellExtensions.dll
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.xml
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.Shell.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.Shell.xml
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.ShellExtensions.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Debug\Microsoft.WindowsAPICodePack.ShellExtensions.xml
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.csproj.CopyComplete
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Debug\OnePass.csproj.SuggestedBindingRedirects.cache
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
ad2f261187cc44d5c3db8df71145224de824e6a7
|
||||
588963e82696ec91ef7422751ab3c9923aeb5ce7
|
||||
|
||||
@ -29,3 +29,36 @@ G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.CoreCompileInputs.cac
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.exe
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.AssemblyReference.cache
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.dll
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.Shell.dll
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.dll
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.xml
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.Shell.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.Shell.xml
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.pdb
|
||||
G:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.xml
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.SuggestedBindingRedirects.cache
|
||||
G:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.CopyComplete
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\OnePass.exe.config
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\OnePass.exe
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\OnePass.pdb
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.dll
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.Shell.dll
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.dll
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.pdb
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.xml
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.Shell.pdb
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.Shell.xml
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.pdb
|
||||
D:\VSCWorkspace\OnePass\OnePass\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.xml
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.AssemblyReference.cache
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.SuggestedBindingRedirects.cache
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.Form1.resources
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.Form2.resources
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.Properties.Resources.resources
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.GenerateResource.cache
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.CoreCompileInputs.cache
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.csproj.CopyComplete
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.exe
|
||||
D:\VSCWorkspace\OnePass\OnePass\obj\Release\OnePass.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
5
OnePass/packages.config
Normal file
5
OnePass/packages.config
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.WindowsAPICodePack-Core" version="1.1.0.0" targetFramework="net472" />
|
||||
<package id="Microsoft.WindowsAPICodePack-Shell" version="1.1.0.0" targetFramework="net472" />
|
||||
</packages>
|
||||
@ -1,2 +1,7 @@
|
||||
# One Pass
|
||||
A stateless password manager
|
||||
A stateless password manager that runs as a windows application.
|
||||
|
||||
Todo:
|
||||
- Add web support
|
||||
- Add autofill
|
||||
- Add settings menu
|
||||
|
||||
BIN
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/.signature.p7s
vendored
Normal file
BIN
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/Microsoft.WindowsAPICodePack-Core.1.1.0.0.nupkg
vendored
Normal file
BIN
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/Microsoft.WindowsAPICodePack-Core.1.1.0.0.nupkg
vendored
Normal file
Binary file not shown.
2934
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/lib/Microsoft.WindowsAPICodePack.XML
vendored
Normal file
2934
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/lib/Microsoft.WindowsAPICodePack.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/lib/Microsoft.WindowsAPICodePack.dll
vendored
Normal file
BIN
packages/Microsoft.WindowsAPICodePack-Core.1.1.0.0/lib/Microsoft.WindowsAPICodePack.dll
vendored
Normal file
Binary file not shown.
BIN
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/.signature.p7s
vendored
Normal file
BIN
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/.signature.p7s
vendored
Normal file
Binary file not shown.
BIN
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/Microsoft.WindowsAPICodePack-Shell.1.1.0.0.nupkg
vendored
Normal file
BIN
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/Microsoft.WindowsAPICodePack-Shell.1.1.0.0.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/lib/Microsoft.WindowsAPICodePack.Shell.dll
vendored
Normal file
BIN
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/lib/Microsoft.WindowsAPICodePack.Shell.dll
vendored
Normal file
Binary file not shown.
25496
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/lib/Microsoft.WindowsAPICodePack.Shell.xml
vendored
Normal file
25496
packages/Microsoft.WindowsAPICodePack-Shell.1.1.0.0/lib/Microsoft.WindowsAPICodePack.Shell.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,778 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>Microsoft.WindowsAPICodePack.ShellExtensions</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromStream">
|
||||
<summary>
|
||||
This interface exposes the <see cref="M:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromStream.Load(System.IO.Stream)"/> function for initializing the
|
||||
Preview Handler with a <typeparamref name="Stream"/>.
|
||||
This interface can be used in conjunction with the other intialization interfaces,
|
||||
but only 1 will be accessed according to the priorities preset by the Windows Shell:
|
||||
<typeparamref name="IPreviewFromStream"/>
|
||||
<typeparamref name="IPreviewFromShellObject"/>
|
||||
<typeparamref name="IPreviewFromFile"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromStream.Load(System.IO.Stream)">
|
||||
<summary>
|
||||
Provides the <typeparamref name="Stream"/> to the item from which a preview should be created.
|
||||
</summary>
|
||||
<param name="stream">Stream to the previewed file, this stream is only available in the scope of this method.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromFile">
|
||||
<summary>
|
||||
This interface exposes the <see cref="M:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromFile.Load(System.IO.FileInfo)"/> function for initializing the
|
||||
Preview Handler with a <typeparamref name="FileInfo"/>.
|
||||
This interface can be used in conjunction with the other intialization interfaces,
|
||||
but only 1 will be accessed according to the priorities preset by the Windows Shell:
|
||||
<typeparamref name="IPreviewFromStream"/>
|
||||
<typeparamref name="IPreviewFromShellObject"/>
|
||||
<typeparamref name="IPreviewFromFile"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromFile.Load(System.IO.FileInfo)">
|
||||
<summary>
|
||||
Provides the <typeparamref name="FileInfo"/> to the item from which a preview should be created.
|
||||
</summary>
|
||||
<param name="info">File information to the previewed file.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromShellObject">
|
||||
<summary>
|
||||
This interface exposes the <see cref="M:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromShellObject.Load(Microsoft.WindowsAPICodePack.Shell.ShellObject)"/> function for initializing the
|
||||
Preview Handler with a <typeparamref name="ShellObject"/>.
|
||||
This interface can be used in conjunction with the other intialization interfaces,
|
||||
but only 1 will be accessed according to the priorities preset by the Windows Shell:
|
||||
<typeparamref name="IPreviewFromStream"/>
|
||||
<typeparamref name="IPreviewFromShellObject"/>
|
||||
<typeparamref name="IPreviewFromFile"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.IPreviewFromShellObject.Load(Microsoft.WindowsAPICodePack.Shell.ShellObject)">
|
||||
<summary>
|
||||
Provides the <typeparamref name="ShellObject"/> from which a preview should be created.
|
||||
</summary>
|
||||
<param name="shellObject">ShellObject for the previewed file, this ShellObject is only available in the scope of this method.</param>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler">
|
||||
<summary>
|
||||
This is the base class for all preview handlers and provides their basic functionality.
|
||||
To create a custom preview handler a class must derive from this, use the <typeparamref name="PreviewHandlerAttribute"/>,
|
||||
and implement 1 or more of the following interfaces:
|
||||
<typeparamref name="IPreviewFromStream"/>,
|
||||
<typeparamref name="IPreviewFromShellObject"/>,
|
||||
<typeparamref name="IPreviewFromFile"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IInitializeWithStream">
|
||||
<summary>
|
||||
Provides means by which to initialize with a stream.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IInitializeWithStream.Initialize(System.Runtime.InteropServices.ComTypes.IStream,Microsoft.WindowsAPICodePack.Shell.AccessModes)">
|
||||
<summary>
|
||||
Initializes with a stream.
|
||||
</summary>
|
||||
<param name="stream"></param>
|
||||
<param name="fileMode"></param>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IInitializeWithItem">
|
||||
<summary>
|
||||
Provides means by which to initialize with a ShellObject
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IInitializeWithItem.Initialize(Microsoft.WindowsAPICodePack.Shell.IShellItem,Microsoft.WindowsAPICodePack.Shell.AccessModes)">
|
||||
<summary>
|
||||
Initializes with ShellItem
|
||||
</summary>
|
||||
<param name="shellItem"></param>
|
||||
<param name="accessMode"></param>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IInitializeWithFile">
|
||||
<summary>
|
||||
Provides means by which to initialize with a file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IInitializeWithFile.Initialize(System.String,Microsoft.WindowsAPICodePack.Shell.AccessModes)">
|
||||
<summary>
|
||||
Initializes with a file.
|
||||
</summary>
|
||||
<param name="filePath"></param>
|
||||
<param name="fileMode"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.Initialize">
|
||||
<summary>
|
||||
Called immediately before the preview is to be shown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.Uninitialize">
|
||||
<summary>
|
||||
Called when the preview is no longer shown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.UpdateBounds(Microsoft.WindowsAPICodePack.Shell.NativeRect)">
|
||||
<summary>
|
||||
Called to update the bounds and position of the preview control
|
||||
</summary>
|
||||
<param name="bounds"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.HandleInitializeException(System.Exception)">
|
||||
<summary>
|
||||
Called when an exception occurs during the initialization of the control
|
||||
</summary>
|
||||
<param name="caughtException"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.SetFocus">
|
||||
<summary>
|
||||
Called when the preview control obtains focus.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.SetBackground(System.Int32)">
|
||||
<summary>
|
||||
Called when a request is received to set or change the background color according to the user's preferences.
|
||||
</summary>
|
||||
<param name="color">An int representing the ARGB color</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.SetForeground(System.Int32)">
|
||||
<summary>
|
||||
Called when a request is received to set or change the foreground color according to the user's preferences.
|
||||
</summary>
|
||||
<param name="color">An int representing the ARGB color</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.SetFont(Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont)">
|
||||
<summary>
|
||||
Called to set the font of the preview control according to the user's preferences.
|
||||
</summary>
|
||||
<param name="font"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.SetParentHandle(System.IntPtr)">
|
||||
<summary>
|
||||
Called to set the parent of the preview control.
|
||||
</summary>
|
||||
<param name="handle"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.Register(System.Type)">
|
||||
<summary>
|
||||
Called when the assembly is registered via RegAsm.
|
||||
</summary>
|
||||
<param name="registerType">Type to register.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.Unregister(System.Type)">
|
||||
<summary>
|
||||
Called when the assembly is Unregistered via RegAsm.
|
||||
</summary>
|
||||
<param name="registerType">Type to unregister</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.IsPreviewShowing">
|
||||
<summary>
|
||||
Gets whether the preview is currently showing
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandler.Handle">
|
||||
<summary>
|
||||
This should return the window handle to be displayed in the Preview.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandlerAttribute">
|
||||
<summary>
|
||||
This class attribute is applied to a Preview Handler to specify registration parameters.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandlerAttribute.#ctor(System.String,System.String,System.String)">
|
||||
<summary>
|
||||
Creates a new instance of the attribute.
|
||||
</summary>
|
||||
<param name="name">Name of the Handler</param>
|
||||
<param name="extensions">Semi-colon-separated list of file extensions supported by the handler.</param>
|
||||
<param name="appId">A unique guid used for process isolation.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandlerAttribute.Name">
|
||||
<summary>
|
||||
Gets the name of the handler.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandlerAttribute.Extensions">
|
||||
<summary>
|
||||
Gets the semi-colon-separated list of extensions supported by the preview handler.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandlerAttribute.AppId">
|
||||
<summary>
|
||||
Gets the AppId associated with the handler for use with the surrogate host process.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.PreviewHandlerAttribute.DisableLowILProcessIsolation">
|
||||
<summary>
|
||||
Disables low integrity-level process isolation.
|
||||
<remarks>This should be avoided as it could be a security risk.</remarks>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.WinFormsPreviewHandler">
|
||||
<summary>
|
||||
This is the base class for all WinForms-based preview handlers and provides their basic functionality.
|
||||
To create a custom preview handler that contains a WinForms user control,
|
||||
a class must derive from this, use the <typeparamref name="PreviewHandlerAttribute"/>,
|
||||
and implement 1 or more of the following interfaces:
|
||||
<typeparamref name="IPreviewFromStream"/>,
|
||||
<typeparamref name="IPreviewFromShellObject"/>,
|
||||
<typeparamref name="IPreviewFromFile"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.WinFormsPreviewHandler.HandleInitializeException(System.Exception)">
|
||||
<summary>
|
||||
Called when an exception is thrown during itialization of the preview control.
|
||||
</summary>
|
||||
<param name="caughtException"></param>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.WinFormsPreviewHandler.Control">
|
||||
<summary>
|
||||
This control must be populated by the deriving class before the preview is shown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.WpfPreviewHandler">
|
||||
<summary>
|
||||
This is the base class for all WPF-based preview handlers and provides their basic functionality.
|
||||
To create a custom preview handler that contains a WPF user control,
|
||||
a class must derive from this, use the <typeparamref name="PreviewHandlerAttribute"/>,
|
||||
and implement 1 or more of the following interfaces:
|
||||
<typeparamref name="IPreviewFromStream"/>,
|
||||
<typeparamref name="IPreviewFromShellObject"/>,
|
||||
<typeparamref name="IPreviewFromFile"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.WpfPreviewHandler.ThrowIfNoControl">
|
||||
<summary>
|
||||
Throws an exception if the Control property has not been populated.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.WpfPreviewHandler.UpdatePlacement">
|
||||
<summary>
|
||||
Updates the placement of the Control.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.WpfPreviewHandler.Finalize">
|
||||
<summary>
|
||||
Preview handler control finalizer
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.WpfPreviewHandler.Dispose">
|
||||
<summary>
|
||||
Disposes the control
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.WpfPreviewHandler.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Provides means to dispose the object.
|
||||
When overriden, it is imperative that base.Dispose(true) is called within the implementation.
|
||||
</summary>
|
||||
<param name="disposing"></param>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.WpfPreviewHandler.Control">
|
||||
<summary>
|
||||
This control must be populated by the deriving class before the preview is shown.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IThumbnailProvider">
|
||||
<summary>
|
||||
ComVisible interface for native IThumbnailProvider
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.IThumbnailProvider.GetThumbnail(System.UInt32,System.IntPtr@,System.UInt32@)">
|
||||
<summary>
|
||||
Gets a pointer to a bitmap to display as a thumbnail
|
||||
</summary>
|
||||
<param name="squareLength"></param>
|
||||
<param name="bitmapHandle"></param>
|
||||
<param name="bitmapType"></param>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont">
|
||||
<summary>
|
||||
Class for marshaling to native LogFont struct
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Height">
|
||||
<summary>
|
||||
Font height
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Width">
|
||||
<summary>
|
||||
Font width
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Escapement">
|
||||
<summary>
|
||||
Font escapement
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Orientation">
|
||||
<summary>
|
||||
Font orientation
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Weight">
|
||||
<summary>
|
||||
Font weight
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Italic">
|
||||
<summary>
|
||||
Font italic
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Underline">
|
||||
<summary>
|
||||
Font underline
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Strikeout">
|
||||
<summary>
|
||||
Font strikeout
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.CharacterSet">
|
||||
<summary>
|
||||
Font character set
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.OutPrecision">
|
||||
<summary>
|
||||
Font out precision
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.ClipPrecision">
|
||||
<summary>
|
||||
Font clip precision
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.Quality">
|
||||
<summary>
|
||||
Font quality
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.PitchAndFamily">
|
||||
<summary>
|
||||
Font pitch and family
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Interop.LogFont.FaceName">
|
||||
<summary>
|
||||
Font face name
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.Culture">
|
||||
<summary>
|
||||
Overrides the current thread's CurrentUICulture property for all
|
||||
resource lookups using this strongly typed resource class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.PreviewHandlerControlNotInitialized">
|
||||
<summary>
|
||||
Looks up a localized string similar to Control has not yet been assigned. Methods requiring it cannot be called..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.PreviewHandlerInterfaceNotImplemented">
|
||||
<summary>
|
||||
Looks up a localized string similar to {0} must implement one or more of IPreviewFromStream, IPreviewFromShellObject or IPreviewFromFile..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.PreviewHandlerInvalidAttributes">
|
||||
<summary>
|
||||
Looks up a localized string similar to PreviewHandler '{0}' must have exactly one PreviewHandler attribute..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.PreviewHandlerUnsupportedInterfaceCalled">
|
||||
<summary>
|
||||
Looks up a localized string similar to Unable to call interface {0} because it is not supported on this object..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.StorageStreamBufferOverflow">
|
||||
<summary>
|
||||
Looks up a localized string similar to The sum of offset and count must be less than or equal to the size of the buffer..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.StorageStreamCountLessThanZero">
|
||||
<summary>
|
||||
Looks up a localized string similar to Count must be greater than or equal to zero..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.StorageStreamIsReadonly">
|
||||
<summary>
|
||||
Looks up a localized string similar to The stream was initialized as read-only..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.StorageStreamOffsetLessThanZero">
|
||||
<summary>
|
||||
Looks up a localized string similar to Offset must be greater than or equal to zero..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.ThumbnailProviderDisabledProcessIsolation">
|
||||
<summary>
|
||||
Looks up a localized string similar to {0} does not implement IThumbnailFromStream and so requires DisableProcessIsolation set to true..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.ThumbnailProviderInterfaceNotImplemented">
|
||||
<summary>
|
||||
Looks up a localized string similar to {0} must implement one or more of IThumbnailFromStream, IThumbnailFromShellObject or IThumbnailFromFile..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.Resources.LocalizedMessages.WpfPreviewHandlerNoHandle">
|
||||
<summary>
|
||||
Looks up a localized string similar to Cannot retrieve handle because proxy window has not been created..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream">
|
||||
<summary>
|
||||
A wrapper for the native IStream object.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.ReadByte">
|
||||
<summary>
|
||||
Reads a single byte from the stream, moving the current position ahead by 1.
|
||||
</summary>
|
||||
<returns>A single byte from the stream, -1 if end of stream.</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.WriteByte(System.Byte)">
|
||||
<summary>
|
||||
Writes a single byte to the stream
|
||||
</summary>
|
||||
<param name="value">Byte to write to stream</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.Read(System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Reads a buffer worth of bytes from the stream.
|
||||
</summary>
|
||||
<param name="buffer">Buffer to fill</param>
|
||||
<param name="offset">Offset to start filling in the buffer</param>
|
||||
<param name="count">Number of bytes to read from the stream</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.Write(System.Byte[],System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Writes a buffer to the stream if able to do so.
|
||||
</summary>
|
||||
<param name="buffer">Buffer to write</param>
|
||||
<param name="offset">Offset in buffer to start writing</param>
|
||||
<param name="count">Number of bytes to write to the stream</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.Seek(System.Int64,System.IO.SeekOrigin)">
|
||||
<summary>
|
||||
Seeks within the underlying IStream.
|
||||
</summary>
|
||||
<param name="offset">Offset</param>
|
||||
<param name="origin">Where to start seeking</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.SetLength(System.Int64)">
|
||||
<summary>
|
||||
Sets the length of the stream
|
||||
</summary>
|
||||
<param name="value"></param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.Flush">
|
||||
<summary>
|
||||
Commits data to be written to the stream if it is being cached.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Disposes the stream.
|
||||
</summary>
|
||||
<param name="disposing">True if called from Dispose(), false if called from finalizer.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.CanRead">
|
||||
<summary>
|
||||
Gets whether the stream can be read from.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.CanSeek">
|
||||
<summary>
|
||||
Gets whether seeking is supported by the stream.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.CanWrite">
|
||||
<summary>
|
||||
Gets whether the stream can be written to.
|
||||
Always false.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.Length">
|
||||
<summary>
|
||||
Gets the length of the IStream
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStream.Position">
|
||||
<summary>
|
||||
Gets or sets the current position within the underlying IStream.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStreamCommitOptions">
|
||||
<summary>
|
||||
Options for commiting (flushing) an IStream storage stream
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStreamCommitOptions.None">
|
||||
<summary>
|
||||
Uses default options
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStreamCommitOptions.Overwrite">
|
||||
<summary>
|
||||
Overwrite option
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStreamCommitOptions.OnlyIfCurrent">
|
||||
<summary>
|
||||
Only if current
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStreamCommitOptions.DangerouslyCommitMerelyToDiskCache">
|
||||
<summary>
|
||||
Commits to disk cache dangerously
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.StorageStreamCommitOptions.Consolidate">
|
||||
<summary>
|
||||
Consolidate
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.IThumbnailFromStream">
|
||||
<summary>
|
||||
This interface exposes the <see cref="!:ConsructBitmap"/> function for initializing the
|
||||
Thumbnail Provider with a <typeparamref name="Stream"/>.
|
||||
If this interfaces is not used, then the handler must opt out of process isolation.
|
||||
This interface can be used in conjunction with the other intialization interfaces,
|
||||
but only 1 will be accessed according to the priorities preset by the Windows Shell:
|
||||
<typeparamref name="IThumbnailFromStream"/>
|
||||
<typeparamref name="IThumbnailFromShellObject"/>
|
||||
<typeparamref name="IThumbnailFromFile"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.IThumbnailFromStream.ConstructBitmap(System.IO.Stream,System.Int32)">
|
||||
<summary>
|
||||
Provides the <typeparamref name="Stream"/> to the item from which a thumbnail should be created.
|
||||
<remarks>Only 32bpp bitmaps support adornments.
|
||||
While 24bpp bitmaps will be displayed they will not display adornments.
|
||||
Additional guidelines for developing thumbnails can be found at http://msdn.microsoft.com/en-us/library/cc144115(v=VS.85).aspx
|
||||
</remarks>
|
||||
</summary>
|
||||
<param name="stream">Stream to initialize the thumbnail</param>
|
||||
<param name="sideSize">Square side dimension in which the thumbnail should fit; the thumbnail will be scaled otherwise.</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.IThumbnailFromShellObject">
|
||||
<summary>
|
||||
This interface exposes the <see cref="!:ConsructBitmap"/> function for initializing the
|
||||
Thumbnail Provider with a <typeparamref name="ShellObject"/>.
|
||||
This interface can be used in conjunction with the other intialization interfaces,
|
||||
but only 1 will be accessed according to the priorities preset by the Windows Shell:
|
||||
<typeparamref name="IThumbnailFromStream"/>
|
||||
<typeparamref name="IThumbnailFromShellObject"/>
|
||||
<typeparamref name="IThumbnailFromFile"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.IThumbnailFromShellObject.ConstructBitmap(Microsoft.WindowsAPICodePack.Shell.ShellObject,System.Int32)">
|
||||
<summary>
|
||||
Provides the <typeparamref name="ShellObject"/> to the item from which a thumbnail should be created.
|
||||
<remarks>Only 32bpp bitmaps support adornments.
|
||||
While 24bpp bitmaps will be displayed they will not display adornments.
|
||||
Additional guidelines for developing thumbnails can be found at http://msdn.microsoft.com/en-us/library/cc144115(v=VS.85).aspx
|
||||
</remarks>
|
||||
</summary>
|
||||
<param name="shellObject">ShellObject to initialize the thumbnail</param>
|
||||
<param name="sideSize">Square side dimension in which the thumbnail should fit; the thumbnail will be scaled otherwise.</param>
|
||||
<returns>Generated thumbnail</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.IThumbnailFromFile">
|
||||
<summary>
|
||||
This interface exposes the <see cref="!:ConsructBitmap"/> function for initializing the
|
||||
Thumbnail Provider with file information.
|
||||
This interface can be used in conjunction with the other intialization interfaces,
|
||||
but only 1 will be accessed according to the priorities preset by the Windows Shell:
|
||||
<typeparamref name="IThumbnailFromStream"/>
|
||||
<typeparamref name="IThumbnailFromShellObject"/>
|
||||
<typeparamref name="IThumbnailFromFile"/>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.IThumbnailFromFile.ConstructBitmap(System.IO.FileInfo,System.Int32)">
|
||||
<summary>
|
||||
Provides the <typeparamref name="FileInfo"/> to the item from which a thumbnail should be created.
|
||||
<remarks>Only 32bpp bitmaps support adornments.
|
||||
While 24bpp bitmaps will be displayed they will not display adornments.
|
||||
Additional guidelines for developing thumbnails can be found at http://msdn.microsoft.com/en-us/library/cc144115(v=VS.85).aspx
|
||||
</remarks>
|
||||
</summary>
|
||||
<param name="info">FileInfo to initialize the thumbnail</param>
|
||||
<param name="sideSize">Square side dimension in which the thumbnail should fit; the thumbnail will be scaled otherwise.</param>
|
||||
<returns>Generated thumbnail</returns>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProvider">
|
||||
<summary>
|
||||
This is the base class for all thumbnail providers and provides their basic functionality.
|
||||
To create a custom thumbnail provider a class must derive from this, use the <typeparamref name="ThumbnailProviderAttribute"/>,
|
||||
and implement 1 or more of the following interfaces:
|
||||
<typeparamref name="IThumbnailFromStream"/>, <typeparamref name="IThumbnailFromShellObject"/>, <typeparamref name="IThumbnailFromFile"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProvider.GetThumbnailAlphaType">
|
||||
<summary>
|
||||
Sets the AlphaType of the generated thumbnail.
|
||||
Override this method in a derived class to change the thumbnails AlphaType, default is Unknown.
|
||||
</summary>
|
||||
<returns>ThumnbailAlphaType</returns>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProvider.Register(System.Type)">
|
||||
<summary>
|
||||
Called when the assembly is registered via RegAsm.
|
||||
</summary>
|
||||
<param name="registerType">Type to be registered.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProvider.Unregister(System.Type)">
|
||||
<summary>
|
||||
Called when the assembly is registered via RegAsm.
|
||||
</summary>
|
||||
<param name="registerType">Type to register.</param>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProvider.Finalize">
|
||||
<summary>
|
||||
Finalizer for the thumbnail provider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProvider.Dispose">
|
||||
<summary>
|
||||
Disposes the thumbnail provider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProvider.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Disploses the thumbnail provider.
|
||||
</summary>
|
||||
<param name="disposing"></param>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute">
|
||||
<summary>
|
||||
This class attribute is applied to a Thumbnail Provider to specify registration parameters
|
||||
and aesthetic attributes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute.#ctor(System.String,System.String)">
|
||||
<summary>
|
||||
Creates a new instance of the attribute.
|
||||
</summary>
|
||||
<param name="name">Name of the provider</param>
|
||||
<param name="extensions">Semi-colon-separated list of extensions supported by this provider.</param>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute.Name">
|
||||
<summary>
|
||||
Gets the name of the provider
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute.Extensions">
|
||||
<summary>
|
||||
Gets the semi-colon-separated list of extensions supported by the provider.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute.DisableProcessIsolation">
|
||||
<summary>
|
||||
Opts-out of running within the surrogate process DllHost.exe.
|
||||
This will reduce robustness and security.
|
||||
This value should be true if the provider does not implement <typeparamref name="IThumbnailFromStream"/>.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute.ThumbnailCutoff">
|
||||
<summary>
|
||||
Below this size thumbnail images will not be generated - file icons will be used instead.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute.TypeOverlay">
|
||||
<summary>
|
||||
A resource reference string pointing to the icon to be used as an overlay on the bottom right of the thumbnail.
|
||||
ex. ISVComponent.dll@,-155
|
||||
ex. C:\Windows\System32\SampleIcon.ico
|
||||
If an empty string is provided, no overlay will be used.
|
||||
If the property is set to null, the default icon for the associated icon will be used as an overlay.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailProviderAttribute.ThumbnailAdornment">
|
||||
<summary>
|
||||
Specifies the <typeparamref name="ThumbnailAdornment"/> for the thumbnail.
|
||||
<remarks>
|
||||
Only 32bpp bitmaps support adornments.
|
||||
While 24bpp bitmaps will be displayed, their adornments will not.
|
||||
If an adornment is specified by the file-type's associated application,
|
||||
the applications adornment will override the value specified in this registration.</remarks>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailCutoffSize">
|
||||
<summary>
|
||||
Defines the minimum thumbnail size for which thumbnails will be generated.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailCutoffSize.Square20">
|
||||
<summary>
|
||||
Default size of 20x20
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailCutoffSize.Square32">
|
||||
<summary>
|
||||
Size of 32x32
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailCutoffSize.Square16">
|
||||
<summary>
|
||||
Size of 16x16
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailCutoffSize.Square48">
|
||||
<summary>
|
||||
Size of 48x48
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailCutoffSize.Square16B">
|
||||
<summary>
|
||||
Size of 16x16. An alternative to Square16.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailAdornment">
|
||||
<summary>
|
||||
Adornment applied to thumbnails.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailAdornment.Default">
|
||||
<summary>
|
||||
This will use the associated application's default icon as the adornment.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailAdornment.None">
|
||||
<summary>
|
||||
No adornment
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailAdornment.DropShadow">
|
||||
<summary>
|
||||
Drop shadow adornment
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailAdornment.PhotoBorder">
|
||||
<summary>
|
||||
Photo border adornment
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:Microsoft.WindowsAPICodePack.ShellExtensions.ThumbnailAdornment.VideoSprockets">
|
||||
<summary>
|
||||
Video sprocket adornment
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user