PigObjFsLib 1.2.3.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package PigObjFsLib --version 1.2.3.2                
NuGet\Install-Package PigObjFsLib -Version 1.2.3.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PigObjFsLib" Version="1.2.3.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PigObjFsLib --version 1.2.3.2                
#r "nuget: PigObjFsLib, 1.2.3.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PigObjFsLib as a Cake Addin
#addin nuget:?package=PigObjFsLib&version=1.2.3.2

// Install PigObjFsLib as a Cake Tool
#tool nuget:?package=PigObjFsLib&version=1.2.3.2                

PigObjFsLib Sample code

PigObjFsDemoConsole on GitHub

GetFile Sample code

Dim oFile As File = goFS.GetFile(strFilePath)
Console.WriteLine("DateCreated: " & oFile.DateCreated)
Console.WriteLine("DateLastModified: " & oFile.DateLastModified)
Console.WriteLine("Name: " & oFile.Name)
Console.WriteLine("Path: " & oFile.Path)

Return results

DateCreated: 2021/1/25 12:24:13
DateLastModified: 2021/1/26 17:05:00
Name: PigObjFsDemoConsole.exe
Path: C:\GitHub\Dev\PigObjFs\Src\DotNet\PigObjFsDemoConsole\PigObjFsDemoConsole\bin\Debug\net45\PigObjFsDemoConsole.exe

GetFolder Sample code

Dim oFolder As Folder = oFS.GetFolder(strFolderPath)
Console.WriteLine("DateCreated: " & oFolder.DateCreated)
Console.WriteLine("DateLastModified: " & oFolder.DateLastModified)
Console.WriteLine("Name: " & oFolder.Name)
Console.WriteLine("Path: " & oFolder.Path)

Return results

DateCreated: 2021/1/25 11:33:55
DateLastModified: 2021/1/25 12:24:13
Name: net45
Path: C:\GitHub\Dev\PigObjFs\Src\DotNet\PigObjFsDemoConsole\PigObjFsDemoConsole\bin\Debug\net45\

FileExists Sample code

Console.WriteLine("FileExists: " & oFS.FileExists(strFilePath))

Return results

FileExists: True

FolderExists Sample code

Console.WriteLine("FolderExists: " & oFS.FolderExists(strFolderPath))

Return results

FolderExists: True

TextStream Read File code

Dim oTextStream As TextStream
Console.WriteLine("OpenTextFile(" & strFilePath & ")...")
oTextStream = oFS.OpenTextFile(strFilePath, FileSystemObject.pIOMode.ForReading, False)
If oFS.LastErr <> "" Then
	Console.WriteLine(oFS.LastErr)
Else
    Do While Not oTextStream.AtEndOfStream
        Console.WriteLine(oTextStream.ReadLine)
    Loop
	oTextStream.Close()
End If

TextStream WriteFile code

Dim oTextStream As TextStream
Console.WriteLine("OpenTextFile(" & strFilePath & ")...")
oTextStream = oFS.OpenTextFile(strFilePath, FileSystemObject.pIOMode.ForWriting, True)
If oFS.LastErr <> "" Then
	Console.WriteLine(oFS.LastErr)
Else
    oTextStream.WriteLine("WriteLine")
    oTextStream.WriteBlankLines(2)
    oTextStream.Close()
    Console.WriteLine("OK")
End If
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net5.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on PigObjFsLib:

Package Downloads
GetFileAndDirListLib

A class library that scans the current directory and generates directory lists and file lists.

PigObjFsDemoConsole

Demo console program library for PigObjFsLib.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.52 914 5/25/2023
2.0.50 600 5/1/2023
2.0.38 593 4/27/2023
2.0.36 406 4/16/2023
2.0.32 2,249 2/1/2023
2.0.30 5,956 10/16/2022
2.0.28 13,520 6/13/2022
2.0.18 2,289 4/11/2022
2.0.8 677 3/14/2022
1.3.8 2,524 8/28/2021
1.2.5.12 794 7/27/2021
1.2.5.9 406 7/25/2021
1.2.3.16 652 7/9/2021
1.2.3.2 689 2/24/2021
1.2.3 528 1/27/2021
1.2.2 483 1/26/2021
1.2.1 597 1/24/2021
1.1.0 428 1/21/2021
1.0.1 430 1/17/2021
1.0.0 363 1/4/2021

Fix bug.