# HDF5DotNet library

**URL:** <https://forum.hdfgroup.org/t/hdf5dotnet-library/8314>\
**Category:** HDF5 Library\
**Created:** [March 22, 2021, 2:23pm UTC](https://forum.hdfgroup.org/t/hdf5dotnet-library/8314 "2021-03-22T14:23:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.griffiths](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/j/a88e57/32.png) [@john.griffiths](https://forum.hdfgroup.org/u/john.griffiths)\
**Post date:** [March 22, 2021, 2:23pm UTC](https://forum.hdfgroup.org/t/hdf5dotnet-library/8314/1 "2021-03-22T14:23:35Z")

</div>

Hi HDF5 Group,

Is there an up to date build or Visual Studio project for the HDF5DotNet for dot net version 4.7.2?

Thank you  
John.

---

<div class="post-metadata">

**Author:** ![gheber](https://forum.hdfgroup.org/user_avatar/forum.hdfgroup.org/gheber/32/1919_2.png) [@gheber](https://forum.hdfgroup.org/u/gheber)\
**Post date:** [March 22, 2021, 4:53pm UTC](https://forum.hdfgroup.org/t/hdf5dotnet-library/8314/2 "2021-03-22T16:53:41Z")

</div>

No, it’s been unsupported for a long time. Please use [HDF.PInvoke](https://www.nuget.org/packages/HDF.PInvoke/) (Windows only) or [HDF.PInvoke.1.10](https://www.nuget.org/packages/HDF.PInvoke.1.10/1.10.610) (.NET Standard).

G.

---

<div class="post-metadata">

**Author:** ![john.griffiths](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/j/a88e57/32.png) [@john.griffiths](https://forum.hdfgroup.org/u/john.griffiths)\
**Post date:** [March 22, 2021, 7:32pm UTC](https://forum.hdfgroup.org/t/hdf5dotnet-library/8314/3 "2021-03-22T19:32:02Z")

</div>

Dear Gerd,

Thank you for your reply. I have now understood the situation and have loaded the HDF.Pinvoke for a test application.  
I cannot find any complete example C# projects using HDF.Pinvoke on which to start my learning process, are there any?

Thanks again  
John.

---

<div class="post-metadata">

**Author:** ![gheber](https://forum.hdfgroup.org/user_avatar/forum.hdfgroup.org/gheber/32/1919_2.png) [@gheber](https://forum.hdfgroup.org/u/gheber)\
**Post date:** [March 22, 2021, 8:17pm UTC](https://forum.hdfgroup.org/t/hdf5dotnet-library/8314/4 "2021-03-22T20:17:02Z")

</div>

John, how about the [tests](https://github.com/HDFGroup/HDF.PInvoke/tree/master/UnitTests) in HDF.PInvoke? There’s also some material in the [Wiki](https://github.com/HDFGroup/HDF.PInvoke/wiki). OK?

G.

---

<div class="post-metadata">

**Author:** ![g.d.jager](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/g/85e7bf/32.png) [@g.d.jager](https://forum.hdfgroup.org/u/g.d.jager)\
**Post date:** [March 23, 2021, 8:18am UTC](https://forum.hdfgroup.org/t/hdf5dotnet-library/8314/5 "2021-03-23T08:18:42Z")

</div>

Hi John,

At MARIN we have an Hdf5 configuration called H5M that has a writer implementation in .NET.  
It contains a rudimentary object oriented façade / bridge to HDF.PInvoke which is generic and therefore sharable.

Rudimentary means the overall design leaves room for improvement and not all data types are supported yet. If you’re interested I can extract this bridge code and DM it if you like.

Regards,  
Gerco

---

<div class="post-metadata">

**Author:** ![john.griffiths](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/j/a88e57/32.png) [@john.griffiths](https://forum.hdfgroup.org/u/john.griffiths)\
**Post date:** [March 24, 2021, 6:12pm UTC](https://forum.hdfgroup.org/t/hdf5dotnet-library/8314/6 "2021-03-24T18:12:52Z")

</div>

Hi Gerco,

Thank you for your reply. I have been able to create a first C# HDF test application by porting from a C++ example. Create, add groups & , a data set, then read them back. There were a few things which weren’t obvious, which is why I asked for a complete example. Its always easier to get started with a new software technology when you have something which works on which to base it :).

Regards  
John.
