private void CopyThis(OSVersionInfo o) { // normal fields _osPlatformId = o._osPlatformId; _majorVersion = o._majorVersion; _minorVersion = o._minorVersion; _buildNumber = o._buildNumber; _csdVersion = o._csdVersion; // extended fields _osSuiteFlags = o._osSuiteFlags; _osProductType = o._osProductType; _servicePackMajor = o._servicePackMajor; _servicePackMinor = o._servicePackMinor; _reserved = o._reserved; // state fields IsLocked = false; ExtendedPropertiesAreSet = o.ExtendedPropertiesAreSet; }
public virtual void Copy(OSVersionInfo o) { CopyThis(o); }
public OSVersionInfo(OSVersionInfo o) { CopyThis(o); }