Clarification on GatewayContext Data Storage

Right after posting I came across this topic which seems to locate the required method: Is there a way withthe SDK to obtain the gateway data directory path? - #4 by PGriffith

I'm suspecting the SDK guide is out of date?