# C1.Win.Editor.C1Editor.UserDataFolder

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Editor_C1Editor_UserDataFolder_" data-uid="C1.Win.Editor.C1Editor.UserDataFolder*">UserDataFolder Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Editor_C1Editor_UserDataFolder_" data-uid="C1.Win.Editor.C1Editor.UserDataFolder*"></a>
<h4 id="C1_Win_Editor_C1Editor_UserDataFolder" data-uid="C1.Win.Editor.C1Editor.UserDataFolder">UserDataFolder</h4>
<div class="markdown level1 summary"><p>Gets or sets the value to pass as the userDataFolder parameter of
Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateAsync(System.String,System.String,Microsoft.Web.WebView2.Core.CoreWebView2EnvironmentOptions)
when creating an environment with this instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public string UserDataFolder { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property UserDataFolder As String</code></pre>
</div>
<h5 id="C1_Win_Editor_C1Editor_UserDataFolder_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>UserDataFolder should be set before initializing CoreWebView2 the control, that is, before using it.
After initialization of the CoreWebView2, this property has no further effect.
By default, CoreWebView2 files will be created in the executing directory.
The application may not have write permissions in this directory, so you will need to set the appropriate path.</p>
</div>
</div>
