Click here to Skip to main content
15,879,535 members
Articles / Programming Languages / C#

Building Snap-In Applications: Appendix A, Code Signing for Security

Rate me:
Please Sign up or sign in to vote.
3.55/5 (8 votes)
14 Sep 2003CPOL11 min read 62.8K   1.1K   35  
This article builds on my previous Snap-In article, adding security through .NET code signing.
<?xml version="1.0"?>
<doc>
    <assembly>
        <name>YourModule</name>
    </assembly>
    <members>
        <member name="T:SnapIn.YourModule">
            <summary>
            This is your module.  It shows progress that can be controlled by a pair of buttons.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.#ctor">
            <summary>
            Constructor.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.Activate">
            <summary>
            Interface Implementation.  Notify the module it is the active one.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.Deactivate">
            <summary>
            Interface Implementation.  Notify the module it is no longer active.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.Initialize(SnapIn.IShell)">
            <summary>
            Interface Implementation.  Hand the module a reference back to the shell.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.Move(System.Drawing.Point,System.Drawing.Point)">
            <summary>
            Interface implementation.  Allow the control to be placed and sized.
            </summary>
            <param name="topLeft">Top-left position.</param>
            <param name="bottomRight">Bottom-right position.</param>
        </member>
        <member name="M:SnapIn.YourModule.AddShellButtons">
            <summary>
            Add member buttons to the shell's ToolBar.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.RemoveShellButtons">
            <summary>
            Get member buttons off the shell's ToolBar.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.OnToolBarButtonClick(System.Object,System.Windows.Forms.ToolBarButtonClickEventArgs)">
            <summary>
            Handler for the shell's ToolBar's button-clicking event.
            </summary>
            <param name="sender"></param>
            <param name="e"></param>
        </member>
        <member name="M:SnapIn.YourModule.OnToolBarMouseEnter(System.Object,System.EventArgs)">
            <summary>
            Assume this module has the only buttons and set instructions.
            </summary>
            <param name="sender"></param>
            <param name="e"></param>
        </member>
        <member name="M:SnapIn.YourModule.OnToolBarMouseLeave(System.Object,System.EventArgs)">
            <summary>
            Assume this module has the only buttons and clear instructions.
            </summary>
            <param name="sender"></param>
            <param name="e"></param>
        </member>
        <member name="M:SnapIn.YourModule.OnTimer(System.Object,System.Timers.ElapsedEventArgs)">
            <summary>
            Event handler for the timer.
            </summary>
            <param name="sender"></param>
            <param name="e"></param>
        </member>
        <member name="M:SnapIn.YourModule.DoProgress">
            <summary>
            Start the timer that moves the progress bar along.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.StopProgress">
            <summary>
            This is a manager's job, no?
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.InitializeComponent">
            <summary>
            Microsoft made me do it.
            </summary>
        </member>
        <member name="M:SnapIn.YourModule.Dispose(System.Boolean)">
            <summary>
            Release resources.
            </summary>
            <param name="disposing"></param>
        </member>
    </members>
</doc>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
United States United States
Architect, designer and coder since the late 90's and still going strong. Cut my teeth on Perl and C++, but soon moved to VB6/ASP and then onto .NET bliss and here I remain (until something better comes along). Love talking and thinking about coding practices and techniques, so feel free to shoot me a line. Lately been getting stronger at SOA and WCF and messing around with jqGrid.

Comments and Discussions