# C1.Web.Api.ImportSource

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Api_ImportSource" data-uid="C1.Web.Api.ImportSource" class="text-break">ImportSource Class
</h1>
  <div class="markdown level0 summary"><p>The wrapper of uploaded file as import source.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ImportSource</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Api.html">C1.Web.Api</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Api.dll</h6>
  <h5 id="C1_Web_Api_ImportSource_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ImportSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ImportSource</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Api_ImportSource__ctor_System_String_System_IO_Stream_" data-uid="C1.Web.Api.ImportSource.#ctor(System.String,System.IO.Stream)">
          <a class="xref" href="C1.Web.Api.ImportSource.-ctor.html#C1_Web_Api_ImportSource__ctor_System_String_System_IO_Stream_">ImportSource(string, Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an ImportSource instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Api_ImportSource_FileName" data-uid="C1.Web.Api.ImportSource.FileName">
          <a class="xref" href="C1.Web.Api.ImportSource.FileName.html#C1_Web_Api_ImportSource_FileName">FileName</a>
        </td>
        <td class="markdown level1 summary"><p>The file name from content dispostion.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Api_ImportSource_GetFileStream" data-uid="C1.Web.Api.ImportSource.GetFileStream">
          <a class="xref" href="C1.Web.Api.ImportSource.GetFileStream.html#C1_Web_Api_ImportSource_GetFileStream">GetFileStream()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the file content stream.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
