SCCM WebService API Reference

Default..::..GetUnixTimeSeconds Method

Gets the unix time seconds.

Namespace:  SCCMWebService.Roles.WinPE
Assembly:  SCCMWebService (in SCCMWebService.dll)

Syntax


[WebMethodAttribute]
public long GetUnixTimeSeconds(
	string macAddress
)
<WebMethodAttribute> _
Public Function GetUnixTimeSeconds ( _
	macAddress As String _
) As Long
[WebMethodAttribute]
public:
long long^ GetUnixTimeSeconds(
	String^ macAddress
)

Parameters

macAddress
Type: String
The mac address.

Return Value

System.Int64.

Exceptions


ExceptionCondition
Exception Computer with mac address ' + macAddress + ' not found. or Missing attribute 'ComputerVariable' in xml file. or Computer variable ' + computerVariable + ' not found or empty. or Wrong number format for xml key ' + timezoneKey + '.
FileNotFoundExceptionFile does not exist ' + mappingFile + '.