/// <inheritdoc /> protected override INetFwOpenPort InternalItem(FirewallLegacyPortCollectionKey key) { try { return(NativeEnumerable.Item(key.PortNumber, key.ProtocolType)); } catch (FileNotFoundException) { return(null); } }
/// <inheritdoc /> protected override INetFwService InternalItem(NET_FW_SERVICE_TYPE key) { try { return(NativeEnumerable.Item(key)); } catch (FileNotFoundException) { return(null); } }
/// <inheritdoc /> protected override INetFwProduct InternalItem(int key) { try { return(NativeEnumerable.Item(key)); } catch (FileNotFoundException) { return(null); } }
/// <inheritdoc /> protected override INetFwAuthorizedApplication InternalItem(string key) { try { return(NativeEnumerable.Item(key)); } catch (FileNotFoundException) { return(null); } }
/// <inheritdoc /> protected override INetFwProduct InternalItem(int key) { return(NativeEnumerable.Item(key)); }
/// <inheritdoc /> protected override INetFwRule InternalItem(string key) { return(NativeEnumerable.Item(key)); }
/// <inheritdoc /> protected override INetFwAuthorizedApplication InternalItem(string key) { return(NativeEnumerable.Item(key)); }
/// <inheritdoc /> protected override INetFwService InternalItem(NetFwServiceType key) { return(NativeEnumerable.Item(key)); }
/// <inheritdoc /> protected override INetFwService InternalItem(NET_FW_SERVICE_TYPE key) { return(NativeEnumerable.Item(key)); }
/// <inheritdoc /> protected override INetFwOpenPort InternalItem(FirewallLegacyPortCollectionKey key) { return(NativeEnumerable.Item(key.PortNumber, key.ProtocolType)); }