/// <summary> /// Add the associated profile to the machine store. /// </summary> /// <param name="SignedDeviceProfile">The device profile</param> public RegistrationDevice (SignedDeviceProfile SignedDeviceProfile) { _Device = SignedDeviceProfile; ToRegistry(); }
/// <summary> /// Add the associated profile to the machine store. /// </summary> /// <param name="SignedDeviceProfile">Profile to add.</param> /// <returns>The registration created</returns> public RegistrationDevice Add(SignedDeviceProfile SignedDeviceProfile) { var Registration = new RegistrationDevice(SignedDeviceProfile); Add(Registration); return Registration; }
/// <summary> /// Read a personal registration from a file /// </summary> /// <param name="UDF">File fingerprint</param> /// <param name="File">Filename on local machine</param> public RegistrationDevice(string UDF, string File) { _Device = SignedDeviceProfile.FromFile(UDF, File); }