# OpcDirectoryPathProbing Members

> Reference: Provides mechanisms to evaluate the full qualified existence and accessibility of a string-based path which points to a directory in the file system.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcDirectoryPathProbing</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Inherits members from [OpcPathProbing](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpathprobing/members).

## Constructors

### OpcDirectoryPathProbing

Initializes a new instance of the [OpcDirectoryPathProbing](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdirectorypathprobing/) class using the `path` information specified.

<div class="api-signature" data-lang="csharp">

```csharp
public OpcDirectoryPathProbing(string path)
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Sub New(path As String)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `path` | [String](https://learn.microsoft.com/dotnet/api/system.string) | The path to a directory in the file system to evaluate. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentException](https://learn.microsoft.com/dotnet/api/system.argumentexception) | The `path` is an empty string. |
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `path` is a null reference (Nothing in Visual Basic). |

## Properties

### Path

Gets the path to the directory in the file system to evaluate when calling [Evaluate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpathprobing/members#evaluate).

<div class="api-signature" data-lang="csharp">

```csharp
public string Path { get; }
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public ReadOnly Property Path As String
```

</div>

**Property value**

[String](https://learn.microsoft.com/dotnet/api/system.string)

The relative or absolute, local or remote path to a directory in the file system which is to be evaluated on every call to [Evaluate](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpathprobing/members#evaluate).

## Methods

### EvaluateCore

<span class="api-meta">protected · override</span>

Processes the implementation specific evaluation of the [Path](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdirectorypathprobing/members#path) associated with this [OpcDirectoryPathProbing](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdirectorypathprobing/) instance and offers the determined and fulfilled path information accordingly.

<div class="api-signature" data-lang="csharp">

```csharp
protected override string EvaluateCore()
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Protected Overrides Function EvaluateCore() As String
```

</div>

**Returns**

[String](https://learn.microsoft.com/dotnet/api/system.string)

The full qualified [string](https://learn.microsoft.com/dotnet/api/system.string)-based path which fulfills the needs of this probing or a null reference (Nothing in Visual Basic) if the path information could not fulfill at least one of the requirements of this probing.

**Overrides**

[EvaluateCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpathprobing/members#evaluatecore)
