VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Web.ApiControllers Namespace / VintasoftFileApiController Class / UploadDirectoryName Property



In This Topic
    UploadDirectoryName Property (VintasoftFileApiController)
    In This Topic
    This property is obsolete from version 8.6.
    See remarks.
    Syntax
    'Declaration
     
    <ObsoleteAttribute(Message="This property is obsolete from version 8.6. See remarks.", IsError=True)>
    Public Property UploadDirectoryName As String
    [Obsolete(Message="This property is obsolete from version 8.6. See remarks.", IsError=true)]
    public string UploadDirectoryName {get; set;}
    [Obsolete(Message="This property is obsolete from version 8.6. See remarks.", IsError=true)]
    public: __property string* get_UploadDirectoryName();
    public: __property void set_UploadDirectoryName( 
       string* value
    );
    [Obsolete(Message="This property is obsolete from version 8.6. See remarks.", IsError=true)]
    public:
    property String^ UploadDirectoryName {
       String^ get();
       void set (    String^ value);
    }
    Remarks
    Since version 8.6 the name of directory for uploaded files can be specified using VintasoftWebImaging_UploadDirectoryName parameter in the appSettings section of web.config file.

    Also you can specify the directory for uploaded files programmatically. For doing this you need to do the following steps:
    • Create a class, for example MyVintasoftFileApiController, that derives from this class.
    • In the class override the CreateSessionDataStorage method.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also