using NTwain.Data; using NTwain.Internals; namespace NTwain.Triplets { /// /// Represents . /// public sealed class StatusUtf8 : OpBase { internal StatusUtf8(ITwainStateInternal session) : base(session) { } /// /// Translate the contents of a TW_STATUS structure received from a Source into a localized UTF-8 /// encoded string. /// /// The status. /// public ReturnCode Get(TWStatusUtf8 status) { Session.VerifyState(3, 7, DataGroups.Control, DataArgumentType.StatusUtf8, Message.Get); return Dsm.DsmEntry(Session.AppId, null, Message.Get, status); } } }