Method GetDeviceInfoAsync
Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll
GetDeviceInfoAsync()
Gets device information without parameter substitution. Demonstrates disabling parameter substitution.
csharp
[Task]
[PythonCode("\n import sys\n import gc\n info = f'Platform: {sys.platform}, Memory: {gc.mem_free()} bytes'\n info\n ", EnableParameterSubstitution = false)]
Task<string> GetDeviceInfoAsync()
Returns
Device information string.