WinAPIServer::fileSize Method [AX 2012]

Syntax

server public static int fileSize(str _filename)

Run On

Server

Parameters

  • _filename
    Type: str

Remarks

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.

See Also

Reference

WinAPIServer Class