C# Class InstallOfficeWmi, Office-IT-Pro-Deployment-Scripts

Show file Open project: OfficeDev/Office-IT-Pro-Deployment-Scripts Class Usage Examples

Public Methods

Method Description
ChangeBaseCdnUrl ( string updateSource ) : void
ChangeOfficeChannel ( string targetChannel, string baseUrl ) : Task
ChangeUpdateSource ( string updateSource ) : string
GetBaseCdnUrl ( ) : string
GetOfficeC2RPath ( ) : string
GetOfficeCtrRegPath ( ) : Task
ResetUpdateSource ( ) : void
RestartC2RSerivce ( ) : void
RunOfficeUpdateAsync ( string version ) : Task
RunOfficeUpdateNonAsync ( string version ) : void
initConnection ( ) : Task

Private Methods

Method Description
CreateRegistryValue ( string regKey, string valueName, string value ) : void
GetRegistryBaseKey ( string parentKey, string childKey, string getmethParam ) : string
GetRegistryValue ( string regKey, string valueName ) : Task
SetRegistryValue ( string keyPath, string valueName, string method, string keyValue = null ) : void

Method Details

ChangeBaseCdnUrl() public method

public ChangeBaseCdnUrl ( string updateSource ) : void
updateSource string
return void

ChangeOfficeChannel() public method

public ChangeOfficeChannel ( string targetChannel, string baseUrl ) : Task
targetChannel string
baseUrl string
return Task

ChangeUpdateSource() public method

public ChangeUpdateSource ( string updateSource ) : string
updateSource string
return string

GetBaseCdnUrl() public method

public GetBaseCdnUrl ( ) : string
return string

GetOfficeC2RPath() public method

public GetOfficeC2RPath ( ) : string
return string

GetOfficeCtrRegPath() public method

public GetOfficeCtrRegPath ( ) : Task
return Task

ResetUpdateSource() public method

public ResetUpdateSource ( ) : void
return void

RestartC2RSerivce() public method

public RestartC2RSerivce ( ) : void
return void

RunOfficeUpdateAsync() public method

public RunOfficeUpdateAsync ( string version ) : Task
version string
return Task

RunOfficeUpdateNonAsync() public method

public RunOfficeUpdateNonAsync ( string version ) : void
version string
return void

initConnection() public method

public initConnection ( ) : Task
return Task