/// <summary> /// Write fixed file information to a binary stream. /// </summary> /// <param name="w">Binary stream.</param> public void Write(BinaryWriter w) { w.Write(ResourceUtil.GetBytes <Kernel32.VS_FIXEDFILEINFO>(_fixedfileinfo)); ResourceUtil.PadToDWORD(w); }
/// <summary> /// String representation of the accelerator. /// </summary> /// <returns>String representation of the accelerator.</returns> public override string ToString() { return(string.Format("{0}, {1}, {2}", Key, Command, ResourceUtil.FlagsToString <User32.AcceleratorVirtualKey>( _accel.fVirt).Replace(" |", ","))); }