This version of Unity is unsupported.

Sysroot.TargetPlatform

public string TargetPlatform;

Description

Returns name of the target platform