.NET Based OPC UA Client/Server SDK  3.0.10.493
UnifiedAutomation.UaBase.PlatformUtils Class Reference

More...

Public Types

enum  LogEntryType { LogEntryType.Information }
 

Static Public Member Functions

static Assembly GetEntryAssembly ()
 
static Assembly GetAssembly (Type type)
 
static Module GetModule (Type type)
 
static Assembly LoadAssembly (string assemblyName)
 
static string GetExecutableFileName ()
 
static string GetCurrentDirectory ()
 
static Type GetBaseType (Type type)
 
static bool IsAssignableFrom (Type type, Type target)
 
static Type[] GetGenericArguments (Type type)
 
static FieldInfo[] GetFields (Type type, BindingFlags flags)
 
static IEnumerable< Type > GetTypes (Assembly assembly)
 
static bool IsInstanceOfType (Type type, object value)
 
static int GetPublicKeySize (ICertificate certificate)
 
static
System.Security.Cryptography.RSA 
GetPublicKey (ICertificate certificate)
 
static
System.Security.Cryptography.RSA 
GetPrivateKey (ICertificate certificate)
 
static bool IsValueType (Type type)
 
static bool IsGenericType (Type type)
 
static bool IsEnum (Type type)
 
static bool IsAbstract (Type type)
 
static object[] GetCustomAttributes (Assembly assembly, bool inherit)
 
static object[] GetCustomAttributes (Type type, bool inherit=false)
 
static string MapSpecialFolderPath (string folder)
 Maps special folder names to current directory names. More...
 
static void WriteEventLog (ApplicationInstanceBase application, string message, LogEntryType type)
 
static T XmlElementContent< T > (System.Xml.XmlElement element)
 
static string CombinePath (string path1, string path2)
 
static string CombinePath (params string[] paths)
 

Detailed Description

Member Enumeration Documentation

Member Function Documentation

static string UnifiedAutomation.UaBase.PlatformUtils.MapSpecialFolderPath ( string  folder)
inlinestatic

Maps special folder names to current directory names.

Parses folder as Environment.SpecialFolder for .NET framework > 3.5. Maps folder to special environment variables for .NET core. The mapped folder names are

  • CommonApplicationData
  • LocalApplicationData
  • ApplicationData

The documentation for this class was generated from the following file: