Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / FileHelper Class / CanReadExistingFile Method
Full physical path of the file to attempt to open.
In This Topic
    CanReadExistingFile Method
    In This Topic
    Tests for the ability to open an existing file for read access.
    Syntax
    public static Exception CanReadExistingFile( 
       string fileName
    )

    Parameters

    fileName
    Full physical path of the file to attempt to open.

    Return Value

    Exception that occurred during the test, or null if the test succeeded.
    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