WinAPIServer::fileSize Method [AX 2012]

server public static int fileSize(str _filename)

Run On

Server

Parameters

_filename
Type: str

If an attacker can control input to the fileSize 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: