Default..::..GetUnixTimeSeconds Method
Gets the unix time seconds.
Namespace:
SCCMWebService.Roles.WinPEAssembly: 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
Exception | Condition |
---|---|
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 + '. |
FileNotFoundException | File does not exist ' + mappingFile + '. |