Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.Sfx Namespace / ExtensionAssociation Class
Members


In This Topic
    ExtensionAssociation Class
    In This Topic
    Represents a file extension association that the self-extractor will register with Windows
    Syntax
    'Declaration
     
    Public Class ExtensionAssociation 
    'Usage
     
    Dim instance As ExtensionAssociation
    public class ExtensionAssociation 
    Remarks

    Registering a file extension allows Windows to recognize files that have a specific file extension. Windows will be able to show a description of the files ending with a given extension (in Windows Explorer, for example) and execute an application whenever that type of file is opened. Thus, when specifying each file extension to be registered, you must provide a description and an associated application. The associated application must be able to open the files ending with that extension.

    Each extension to register consists of the extension (do not include the . character), the path + filename of the associated application and the extension's description.

    The current EXE extension association should not be modified. Changing this association can prevent applications from running properly.
    Inheritance Hierarchy

    System.Object
       Xceed.Zip.Sfx.ExtensionAssociation

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the ExtensionAssociation class specifying the extension, its description as well as the application to which it will be associated.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the application to which the Extension is associated.  
    Public PropertyGets or sets the description of the extension association.  
    Public PropertyGets or sets the file extension to associate.  
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also