/// <summary> /// Indidates if the <see cref="DeviceAccessControl"/> has document server access control support. /// </summary> /// <param name="accessControl">The access control to inspect.</param> /// <returns>True if supported; false if otherwise.</returns> public static bool HasDocumentServerAccessControl(this DeviceAccessControl accessControl) { return(accessControl.HasFlag(DeviceAccessControl.DocumentServer)); }
/// <summary> /// Indidates if the <see cref="DeviceAccessControl"/> has printer access control support. /// </summary> /// <param name="accessControl">The access control to inspect.</param> /// <returns>True if supported; false if otherwise.</returns> public static bool HasPrinterAccessControl(this DeviceAccessControl accessControl) { return(accessControl.HasFlag(DeviceAccessControl.Printer)); }
/// <summary> /// Indidates if the <see cref="DeviceAccessControl"/> has scanner access control support. /// </summary> /// <param name="accessControl">The access control to inspect.</param> /// <returns>True if supported; false if otherwise.</returns> public static bool HasScannerAccessControl(this DeviceAccessControl accessControl) { return(accessControl.HasFlag(DeviceAccessControl.Scanner)); }
/// <summary> /// Indidates if the <see cref="DeviceAccessControl"/> has fax access control support. /// </summary> /// <param name="accessControl">The access control to inspect.</param> /// <returns>True if supported; false if otherwise.</returns> public static bool HasFaxAccessControl(this DeviceAccessControl accessControl) { return(accessControl.HasFlag(DeviceAccessControl.Fax)); }