WinAPIServer::fileExists Method [AX 2012]

server public static boolean fileExists(Filename _filename, [boolean _acceptFolder])

Run On

Server

Parameters

_filename
Type: Filename Extended Data Type
_acceptFolder
Type: boolean

If an attacker can control input to the fileExists method, a security risk exists. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the FileIOPermission Class.

Show: